I'm trying to port my mediawiki v.1.10.0 from one server to another. I've
copied over all the files and the MySql database, and the pages are
appearing with one problem:
The redirect wants to send everything to the wrong directory. The
directory on the original server was "mwiki". It would access pages
through the ugly style of
"http://olddomain.com/mwiki/index.php?title=Main_Page". The new server
redirects everything to "wiki" instead, so on the main page it tries for
"http://newdomain.com/wiki/index.php?title=Main_Page" and gets an error.
The info in LocalSettings.php that seems pertinent is
$wgScriptPath = "/mwiki";
$cpInstallURL = "http://newdomain.com/mwiki";
That's all I got. Any pointers?
Show replies by date