The tool generates .htaccess code to redirect www to non-www URLs, or to redirect visitors from the non-www to www version of your domain.
The Redirect Generator uses search engine friendly 301 redirects, and redirects both the top-level domain and all internal links.
Redirect www to non-www, or redirect non-www to www domains.
Just enter your domain name, select the type of redirect code you want, and then copy your code from the box below to the .htaccess file on your website:
To add this tool to your site - Copy/Paste the following code to your site: