Dear all,
I want to move my MediaWIki site to a new server. All the Ubuntu version, MySQL version, and PHP version are changed. After modifying the LocalSettings.php a little bit, now I can connect to the site via web browser but it shows errors of 404 Not Found.
For example, when I go to "http://MyIPAddress/wiki/index.php", the page shows: Not Found The requested URL /wiki/index.php was not found on this server.
So, how to address this issue? I have tried "php maintenance/update.php" but it didn't work.
Looking forward to your help. Thank you all!
Best, Jingyi
You probably need to adjust $wgServer and $wgScriptPath in your LocalSettings.php to match the URL where the site is served.
https://www.mediawiki.org/wiki/Manual:$wgServer https://www.mediawiki.org/wiki/Manual:$wgScriptPath
mediawiki-l@lists.wikimedia.org