[Mediawiki-l] need help with http redirect needed because of wiki move

Philip Beach beachboy4231 at gmail.com
Wed Apr 25 17:59:59 UTC 2007


Hello all,

I would like to move my MediaWiki install to a /wiki directory. I already
know the edits to LocalSettings.php that will be necessary, etc.

However, many other sites currently link to my wiki and I would like to
retain these links. How should I go about setting up a HTTP redirect that
would take any request to www.mywiki.com/Page_Name and redirect to
www.mywiki.com/wiki/Page_Name? The redirect cannot simply take requests to
the site and redirect them to /wiki becuase I many of the links leading to
my site are to specific pages (ie. www.mywiki.com/Page_title).

My server is running Apache.

Thanks a lot!


More information about the MediaWiki-l mailing list