Thread:Project:Support desk/Mangled my short URL setup: help spot my LocalSettings & htaccess errors!

I'm in the process of setting up short URLs following the Manual:Short_URL/wiki/Page_title_--_no_root_access for my private writing wiki, however I've managed to bungle it up something fierce.

The examples in the manual aren't very intuitive for non-technies like myself, so I've made a misstep somewhere along the way. I'll post my changes to the LocalSettings and htaccess; hopefully my error will be glaringly clear for your veterans. At least, I hope it will.

The wiki instillation itself, within my public html, is located in hexingtide/slug. Hexingtide I've set up as a subdomain. Not sure if that makes a difference in this.

LocalSettings

$wgScriptPath 		= "/slug"; # Physical path (right part of first rewrite rule).

$wgArticlePath 		= "/slug/wiki/$1"; # Virtual path (left part of first rewrite rule). MUST BE DIFFERENT from $wgScriptPath!

$wgScriptExtension = ".php";

.htaccess

RewriteRule ^/hexingtide/slug/?wiki/(.*)$ /hexingtide/slug/index.php?title=$1 [PT,L,QSA]

RewriteRule ^/hexingtide/slug/?wiki/*$ /hexingtide/slug/index.php [L,QSA]

RewriteRule ^/*$ /hexingtide/slug/index.php [L,QSA]

Help!