[Mediawiki-l] redirect path

Dave Smey autodave at davesmey.com
Tue Jul 29 20:39:58 UTC 2008


Hi all,

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";

and

$cpInstallURL = "http://newdomain.com/mwiki";

That's all I got.  Any pointers?

Thanks,
Dave Smey
Brooklyn, NY




More information about the MediaWiki-l mailing list