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!
Klara wrote:
I would like use Clean Urls. In my main folder directory i have installed wordpress. Mediawiki in w/.
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?
Don't add the line RewriteRule ^/*$ /w/index.php [L,QSA]*
As you have wordpress in root, it should directly pick it. You can also change it to send to wordpress.
mediawiki-l@lists.wikimedia.org