Domain Redirect Generator

Use this tool and generate 301 code to permanently redirect your old domain to a new domain using .htaccess

Old Domain:

New Domain:

Use the generated code to redirect your domain.

Create a file called .htaccess in the doc root (web/ www folder/ httpdocs) of {{oldDomain}}.

Then copy the code below and save it in that new .htaccess file to redirect {{oldDomain}} to {{newDomain}}:

Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) {{newDomain}}/$1 [R=301,L]