Jump to content

Topic on Project:Support desk

Wikipages try to access old server IP

5
79.218.164.196 (talkcontribs)

I moved my Wiki in my internal network from one server to another server with different IP. Restored the wiki backup to that new server and launched update.php in the maintenance directory.

The top page of the wiki shows-up correctly, but all subsequent pages have the wrong IP from the old server:

http://192.168.3.123/mediawiki/index.php/Elektronik

Checking the $wgServer in LocalSettings.php is pointing correctly to the new server:

$wgServer = "http://192.168.3.122";


Is there another cache that I need to clear?


Any help appreciated.

AhmadF.Cheema (talkcontribs)
79.218.164.196 (talkcontribs)

Setting


 $wgUseFileCache = false;


did not change the behaviour. - What else could trigger the system accessing the old server IP address?

Any ideas, recommendations?

79.218.164.196 (talkcontribs)

Yeah! - Found the solution:

Links were entered with absolute and not relative addresses:


*[//192.168.1.1/mediawiki/index.php/Info Info]


I'll try to amend the links and it should work.


Ciencia Al Poder (talkcontribs)

MediaWiki has a special page that will help you in tracking those external links Look at Special:LinkSearch

Reply to "Wikipages try to access old server IP"