Thread:Project:Support desk/404 Error on Short URL

Hi,

I just installed Mediawiki on shared hosting Linux Plan. After that I went to http://shorturls.redwerks.org/ to create short url for the wiki. I created the .htaccess file and also made changes in the LocalSetting.php. But now I am getting 404 error on the short url generated for the wiki. Please help. Kindly tell what I have done wrong.

The .htaccess file looks like this RewriteEngine On RewriteRule ^/?view/wiki(/.*)?$ %{DOCUMENT_ROOT}/view/index.php [L]

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

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