[Mediawiki-l] Mediawiki, Wordpress and Short Urls

Klara souderin at googlemail.com
Mon Jun 1 08:10:28 UTC 2009


I would like use Clean Urls.
In my main folder directory i have installed wordpress. Mediawiki in w/.
My webhosting packet works with Ubuntu.

My .htaccess looks like this:
*
RewriteEngine On
RewriteRule ^wiki/(.*)$ /w/index.php?title=$1 [PT,L,QSA]
RewriteRule ^wiki/*$ /w/index.php [L,QSA]
RewriteRule ^/*$ /w/index.php [L,QSA]*

and my LocalSettings.php

*$wgScriptPath = "/w";
$wgArticlePath = "/wiki/$1";
$wgUsePathInfo = true; *

Mediawiki works only when i put the .htaccess in the home wordpress folder
and then
Wordpress does not work anymoren. The URL structur should look like this

http://www.domain.com/  # direct to Wordpress
http://www.domain.com/hauptverzeichnis # direct to mediawiki

Is this possible and if so how?

Thanks in advance!


More information about the MediaWiki-l mailing list