Klara | 1 Jun 10:10 2009

Mediawiki, Wordpress and Short Urls

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!

Gmane