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

Having trouble generating htaccess redirects? Generate the htaccess code for your website. With our tool you can create any redirects like non-www to www or www to non-www URLs.