I hope anyone can help me. I have a hosted webspace and I have installed MediaWiki without any extensions in https://abcd.com/wiki
when go on the set I will be redirected to https://abcd.com/wiki/index.php/Hauptseite (it is a german wiki). But I want the short url https://abcd.com/wiki/Hauptseite
I have made a .htaccess File in the https://abcd.com/wiki/ folder with this:
RewriteEngine On
RewriteRule ^wiki/(.*)$ wiki/index.php?title=$1 [PT,L,QSA]
RewriteRule ^wiki/*$ wiki/index.php [L,QSA]
RewriteRule ^wiki$ wiki/index.php [L,QSA]
And in the LocalSettings.php I set:
$wgScriptPath = "/wiki";
$wgArticlePath = "$wgScriptPath/$1";
When I now go the wiki I get the error I will redirected to https://abcd.com/wiki/Hauptseite
and get this error:
Not Found
The requested URL /wiki/Hauptseite was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I have no more ideas... Thank you for help a frustrated man ;)