Forums / Cotonti / Extensions / [RELEASE] Cotonti Awesome mod_rewrite URL System

Dayver
#11547 2009-04-18 01:15
if you have a some problems with Lombi mod_rewrite URL System try instead
Lombi:
Once you set it in config.php put the following line into system/functions.php right below define('SED_GROUP_TOPADMINS', 5);:
include('functions.custom.php');
put
include($cfg['system_dir'].'/functions.custom.php');


# Kort : Btw, is there a possibility to rewrite urls for plugins:
plug?e=whosonline
to
whosonline.html?
Try in urltrans.dat
plug	e=*	{$e}.html
or
plug	e=whosonline	whosonline.html

or simply in .htaccess
RewriteRule ^whosonline.html plug.php?e=whosonline

# Kort : Looks like there's a problem here:
plug	e=tags&a=&t=*	{$e}/{$a)/{$t}.html
Otherwise works fine with 0.0.4.
Yes, it is simply mistaken .... should be so
plug	e=tags&a=*&t=*	tags/{$a)/{$t}.html

Anyway Lombi good fellow. And thanks to him for this topic
Pavlo Tkachenko aka Dayver
This post was edited by Dayver (2009-04-18 02:35, 15 years ago)