htaccess Redirect Generator - Redirect www to non-www

Search Engine Optimization

htaccess Redirect Generator


1. Select redirect type





2. Enter your domain name


Do not include www or http - e.g. yourdomain.com

3. Get your code


4. Copy the code to your .htaccess file



What is htaccess Redirect Generator

htaccess Redirect Generator is a online that will help you to generate htacces code to redirect www to non-www URLs and non-www to www URLs. It's a really simple tool, and it's completely free.