[Mediawiki-l] Redirect

Platonides Platonides at gmail.com
Tue Jun 17 13:34:23 UTC 2008

Philip Beach wrote:
> RewriteRule ^([A-Za-z]+)$ /wiki/$1/ [R]
> However, that only works with one word pages that are alphabetical (no
> numbers or any other symbols). Can anyone tell me the best way to make this
> do what I want?  

Change [A-Za-z] by [^/\.] (it applies for anything without a / or .). Or 
you could redirect everythign not beginning with /wiki/
But take into account that you want to access index.php!

> Is mod rewrite the best method to use?

More information about the MediaWiki-l mailing list