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. yourdomain.com

3. Get your code


4. Copy the code to your .htaccess file



About Htaccess Redirect Generator

Sometimes, especially in a situation where you have a growing online business, you might need to change the URL of your website. This can be tricky and require some technical knowledge (or someone who does!) as there are likely things that are linked to the old structure. A handy tool in this case is htaccess redirect generator which helps get rid of errors or redirect users to the right page after converting a link based on certain parameters set by you - such as rewriting the URLs all together or preserving your canonical URLs.

How Does the Htaccess Redirect Generator Work?

To use the Htaccess Redirect Generator , follow these steps:

  1. Choose between www and non-www or vice versa.
  2. Enter your URL in the textbox below 
  3. Click on the "Get the htaccess code" button.
  4. Copy the code to your .htaccess file.