I’ve installed a Media Wiki and try to get pretty URLs by adding a .htaccess 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 also of course adding these lines to the MW LocalSettings.php:
$wgScriptPath = “/w”; # Physical path (right part of first rewrite rule). Should already be in LocalSettings.php
$wgArticlePath = “/wiki/$1”; # Virtual path (left part of first rewrite rule). MUST BE DIFFERENT from $wgScriptPath!
$wgLogo = “/wiki/File:Wiki.png”; # May need adjusted to where your logo is found. Without it your logo will disappear.
But I get a 500 Internal Server Error.
What am I doing wrong?