Htaccess Redirect Generator

1. Select redirect type

2. Enter your domain name

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

3. Get your code

4. Copy the code to your .htaccess file

About Htaccess Redirect Generator

By default your website can be accessed with both and
Since Google penalizes this due to duplicated content reasons, you should restrict the access to either or
Some links may be outside of your website scope and/or the search engines may have already indexed your website under both addresses.
The htaccess redirects generator wants to facilitate the implementation of the most common redirects scenarios via htaccess, especially used when implementing SEO best practices & recommendations.
Just select the desired scenario and obtain a personalized code based on your input, ready to copy & paste.