Thread:Project:Support desk/Can not access local mediawiki, url always redirects to en.wikipedia.org

Version information: mediawiki: 1.20.2 PHP:      5.3.10-1ubuntu3.4(apache2handler) MySQL:    5.5.28-0ubuntu0.12.04.3

Problem short description: I can't access my local mediawiki after i imported the wikipedia datadumps using mwdumper.jar, whenever i enters ip/mediawiki in my browser, the url would always changes into en.wikipedia.org.

Problem detailed description: I installed mediawiki on my local server(ubuntu server 12.04LTS), and then tried to import wikipedia data dumps into my local mediawiki using importDump.php command, during the process of importing, i tried to access local mediawiki only to find it redirected to en.wikipedia.org. I guessed maybe when the process is done, this kind of redirection might disappear, however, when i eventually found importDump.php really too slow, I brutally stopped the process using Ctrl+c, and then dropped database, removed LocalSettings.php to start over again, after i finally used mwdumper.jar to get the import task finished, i was very pleased to see it worked well. However, days after that, when i came back to access local mediawiki, the redirection things happened again and i still do not know how to fix it right now. I have tried many ways and even tried to look into the index.php code, but due to my limited knowledge, I only find it may have something to do with the includes/WebStart.php code, hope some one could finally help me out of this, thanks!