star

SEO Tools / www Redirect Generator

.htaccess code to redirect www to non-www URLs, or to redirect visitors from the non-www to www version of your domain.



1. Select redirect type


Redirect www to non-www

Redirect non-www to www

2. Enter your domain name


Do not include www. Domain name only - e.g. example.com

3. Get your code

4. Copy the code to your .htaccess file



Our WWW Redirect Generator Tool is 100% free to use. Please feel free to link it to your website.

Code to be added in your site

goback