
ed.melendez at pipelinefinancial
Dec 6, 2007, 2:43 PM
Post #8 of 15
(1319 views)
Permalink
|
I really must use the exact URL as stated previously, and the location of files is quite important as well. What accompanying changes have you made in you LocalSettings.php file. -Ed -----Original Message----- From: mediawiki-l-bounces [at] lists [mailto:mediawiki-l-bounces [at] lists] On Behalf Of Schneelocke Sent: Thursday, December 06, 2007 17:16 To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Short URLs Hi Ed, > I've tried using a rewrite rule, but (1) I couldn't find an example that > exactly matches what I want, and (2) none of the ones I did try worked. > > I'm afraid I don't know enough about rewrite rules to properly > troubleshoot why it isn't working. Here's what I'm using: RewriteEngine on RewriteRule ^wiki/?(.*)$ /w/index.php?title=$1 [L,QSA] The actual MediaWiki installation resides in /w/, while pretty URLs use /wiki/ (e.g. /wiki/Main_Page etc.). If having different directories there is OK for you, the above or some variation thereof should work. -- schnee _______________________________________________ MediaWiki-l mailing list MediaWiki-l [at] lists http://lists.wikimedia.org/mailman/listinfo/mediawiki-l Disclaimer: Any references to Pipeline performance contained herein are based on historic performance levels which Pipeline expects to maintain or exceed but nevertheless does not guarantee. Congested networks, price volatility, or other extraordinary events may impede future trading activities and degrade performance statistics. _______________________________________________ MediaWiki-l mailing list MediaWiki-l [at] lists http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
|