Thread:Project:Support desk/wiki/Main Page 404 godaddy/reply (2)

Now got home page loading and wiki pages but all special pages like login have errors because they contain an extra wiki/index in the url. Heres my code now AddHandler x-httpd-php5 .php AddHandler x-httpd-php .php4


 * 1) RewriteCond %{HTTP_HOST} ^pornwikileaks.com/wiki
 * 2) RewriteRule ^(.*)$ http://www.pornwikileaks.com/wiki/$1 [r=301,L]

RewriteEngine on RewriteRule ^[^:]*\. - [L] RewriteRule ^/*$ /wiki/index.php?title=Main_Page [L,QSA] RewriteRule ^(.+)$ /wiki/index.php?title=$1 [L,QSA]
 * 1) anything that contains a dot without a colon should be left alone
 * 1) anything that contains a slash without a colon should be left alone
 * 2) RewriteRule ^[^:]*\/ - [L]
 * 3) redirect to main page
 * 1) anything else is to be treated as a title
 * 1) anything that contains a slash is to be left alone.

and my local settings have $wgScriptPath      = "/wiki"; $wgScriptExtension = "$wgScriptPath/index.php";


 * 1) added by admin test
 * 2) $wgRedirectScript = "$wgScriptPath/redirect.php";

$wgArticlePath = "$wgScriptPath/$1";
 * 1) KEVIN ADDED FOR SHORT URL