views:

24

answers:

1

I had MediaWiki installed in as the default site on my server using IIS 6 and I created a virtual directory and pointed it to the Wiki folder. The page loads, but all the links are pointing to the original location that is no longer pointing to the Wiki Folder.

Info Server Name: tech Path to Wiki: http://tech/wiki/

Example Links Wrong Link - This is the current link displayed http://tech/index.php?title=Main_Page

The link should look like this http://tech/wiki/index.php?title=Main_Page

All of the links are not showing the /wiki

Any ideas?

+1  A: 

Do you have this in your local settings?

$wgArticlePath = "/wiki/$1";  # Virtual path. This directory MUST be different from the one used in $wgScriptPath
$wgUsePathInfo = true;        # Enable use of pretty URLs

Try setting

wgUsePathInfo = false;
Adrian Archer