Thread:Project:Support desk/Do you have a filesystem snapshot of a working wiki with short URLs working? Thanks./reply

Not exactly what you asked for, but my wiki is at domain.com/wiki/ (not /w/index.php, but /wiki/index.php) and I added the following line to my LocalSettings:

$wgArticlePath = "/wiki/$1";

I added the following three lines to my /wiki/.htaccess file:

RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d RewriteRule ^(.*)$ %{DOCUMENT_ROOT}/wiki/index.php [L]