[Mediawiki-l] mod_rewrite again

Rick DeNatale rick.denatale at gmail.com
Wed Mar 23 20:38:39 UTC 2005


Add me to the list of folks pulling their hair out trying to get
prettier urls to work with mediawiki.

After upgrading to 1.4.0 I decided to try to prettify my urls.  I
hadn't tried actually rewriting the incoming urls using mod_rewrite
under my previous 1.3.x installation, but I swear that manually
entering a url of .../wiki/index.php/Title used to work.

I've set up rewrite rules for the wiki directory, and It looks like
the rewriting of a url like

http://www.mydomainname/wiki/Frodo
to
http://www.mydomainname/wiki/index.php/Frodo 

is working but then the url itself isn't being properly processed.  As
I say, before I upgraded to 1.4.0 manual use of the resulting url used
to work.

Yesterday, I couldn't get the alternative of rewriting to 

http://www.mydomainname/wiki/index.php?Frodo

to work either, but today, for some mysterious reason it seems to work.

I hate it when things don't work and I don't understand why, but I
hate it even more when they start to work and I still don't understand
why, since it's not good for the confidence in things not breaking in
the future.

Anyway, any ideas why the index.php/articlename form used to work in
1.3 and doesn't in 1.4?



More information about the MediaWiki-l mailing list