Thread:Project:Support desk/Short urls makes my wiki inaccessible

I can't access my wiki after applying the changes needed for short urls. In my .htaccess file, I added:

RewriteEngine On RewriteRule ^/?guides(/.*)?$ %{DOCUMENT_ROOT}/guides/index.php [L]

RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d RewriteRule ^/?guides/images/thumb/[0-9a-f]/[0-9a-f][0-9a-f]/([^/]+)/([0-9]+)px-.*$ %{DOCUMENT_ROOT}/guides/thumb.php?f=$1&width=$2 [L,QSA,B]

RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d RewriteRule ^/?guides/images/thumb/archive/[0-9a-f]/[0-9a-f][0-9a-f]/([^/]+)/([0-9]+)px-.*$ %{DOCUMENT_ROOT}/guides/thumb.php?f=$1&width=$2&archived=1 [L,QSA,B]

and in my LocalSettings.php file, I added this code:

$wgArticlePath = "{$wgScriptPath}/$1"; $wgUsePathInfo = true;

Here's the link to my wiki: http://kingdomhearts7.com/guides/Kingdom_Hearts_7. My MediaWiki version is 1.20.4. My PHP version is 5.3.23, and my MySQL version is 5.5.23-55.