Pretty URL's for mediawiki
Posted by: Michelle05
Posted on: 2006-05-13 11:17:00
Another noob rewrite question, sorry in advance.
I'm new to DH and working with a DH subdomain before I switch my site over. The main hurdle remaining is getting pretty URL's for my mediawiki installation. I want to keep the index.php so it looks like this:
wiki/index.php/Main_Page
not
wiki/index.php?title=Main_Page
Here are my current rewrite rules, in .htaccess in my web root directory:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^wiki/(.+)$ /wiki/index.php?title=$1 [L,QSA]
The wiki is installed under wiki/. These rules don't seem to be having any effect at all -- I just get a page not found error when my wiki is set for pretty URL's. Is there something I need to do to activate the .htaccess file or is it read automatically?
I'm on pretzel, in case that matters. Any help appreciated.
Michelle