Old domain to new domain

Learn more about the Old domain to new domain Adobe Muse widget

This redirect is for website that are redirecting an old domain to a new domain but keeping the filenames of the webpages the same.

Example

# Example of valid markup

RewriteCond %{HTTP_HOST} ^old.org$ [NC,OR]
RewriteCond %{HTTP_HOST} ^www.old.org$ [NC]
RewriteRule (.*)$ http://new.com/$1 [R=301,L]

Generator

Enter your old domain
Enter your new domain
Select a protocol preference
Select a www preference
# Add the code that will be
# generated here to your .htaccess file.
Generate Code

Discussion