Commonly Used Redirects For Moving To A New Domain
Most of these are lifted from, slightly modified, or examplified forms of posts here at WebmasterWorld and summarized here for reference. Thanks to skipfactor, pageoneresults, korkus2000, Xoc, jdMorgan, Decius, and Daiman for their posts on these topics.
Case: You are transferring from www.example-old.com to www.example-new.com. The architecture of the site will remain the same - you simply want to switch to a new domain name. You want to pass related page and parameter information.
Server Level Redirects
Options +FollowSymlinks RewriteEngine on RewriteRule ^(.*)$ http://www.example-new.com/$1 [R=301,L]
IIS (Built In Rewrite Module)
Right click on site (www.example-old.com) in IIS Manager, select Properties
Click on "Home Directory" tab
Select the "A redirection to a URL" option
In the "Redirect to" box, place the text
Select the "The exact URL entered above" option
Select the "A permanent redirection for this resource" option
Language Specific Redirects
[edited by: oilman at 8:18 pm (utc) on June 16, 2004]