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



Htaccess Redirect Generator

Use our tool to generate the needed code to be placed into the .htaccess file for doing a correct redirect from www to non-www or vice versa.