Htaccess Redirect Generator

Search Engine Optimization

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

Htaccess Redirect Generator is essential for implementing web migrations for websites using an Apache Web Server. This tool generates the necessary codes to be added to your htaccess file. 

The htaccess redirects generator tool is meant to be used when implementing URLs changes, Web migrations or when configuring your Website canonical URLs versions -those that are meant to be indexed and ranked-, while avoiding losing your former or non-canonical URLs traffic and rankings by referring your users and search bots to their new or canonical URLs versions via permanent redirects (with 301 http status).


How to use the Htaccess Redirect Generator

To use Htaccess Redirect Generator:

  • Select redirect type: Redirect from www to non-www or Redirect from non-www to www

  •  Enter your domain name. Write in the form of

  • Click on Get .htaccess Code

Create a free website with GoDaddy!