[pmwiki-users] I need a little help with lower-case clean URLs

redisthecat at lavabit.com redisthecat at lavabit.com
Thu Nov 17 11:41:57 CST 2011


Hi. Does anybody know how can I get clean URLs in lower-case, like
"http://mysite.com/main/homepage" instead of
"http://mysite.com/Main/Homepage" ? Here's my .htaccess file:

# Use mod_rewrite to enable "Clean URLs" for a PmWiki installation.
RewriteEngine On
# Define the rewrite base.
RewriteBase /sites/rodrigomolinaro
# Send requests without parameters to pmwiki.php.
RewriteRule ^$ pmwiki.php [L]
# Send requests for index.php to pmwiki.php.
RewriteRule ^index\.php$ pmwiki.php [L]
# Send requests to pmwiki.php, appending the query string part.
RewriteRule ^([A-Z0-9\xa0-\xff].*)$ pmwiki.php?n=$1 [QSA,L]

Thank you for any help!

Rod





More information about the pmwiki-users mailing list