Topic on Manual talk:Short URL/Archive 3

Vivaporius (talkcontribs)

I'm not sure if this is the correct location for the question, but I'll ask anyway.

I'm trying to change my URL from http://127.0.0.1/www/maikalpedia.com/index.php/Main_Page to just http://maikalpedia.com/wiki/Main_Page, but not matter what I do, I just can't change it. Here are the LocalSettings.php:

$wgScriptPath = "/www/maikalpedia.com";

$wgScriptExtension = ".php";

$wgArticlePath = "$wgScriptPath/index.php/$1";

$wgServer = "http://127.0.0.1";

I'm stumped, and I should note that this is the first time I've created a MediaWiki of my own. Any help would be great. Thanks.

Dantman (talkcontribs)

$wgArticlePath = "/wiki/$1";

Vivaporius (talkcontribs)
Vivaporius (talkcontribs)

Excellent it worked. Now the only issue is that the link says "This webpage is not available". Is there anything I need to do to fix that, or is it just the $wgScriptPath?

Reply to "How to change my URL"