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!
Hi Philip,
A 301 redirect may be the best way: http://www.webconfs.com/how-to-redirect-a-webpage.php
Good luck, Lonny http://www.appropedia.org -The sustainability wiki
On 4/25/07, Philip Beach beachboy4231@gmail.com wrote:
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! _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org