Home » Webmaster Tools » www Redirect Generator Tool

www Redirect Generator

Generate .htaccess code for redirecting www to non-www

This tool generates .htaccess code to redirect www to non-www URLs, or to redirect visitors from the non-www to www version of your domain.

Our www Redirect Generator uses search engine friendly 301 redirects, and redirects both the top-level domain and all internal links.

  • Redirect www to non-www, or redirect non-www to www domains
  • Redirects all URLs, including subpages
    e.g. www.example.com/blog/somepage.html to example.com/blog/somepage.html

Just enter your domain name, select the type of redirect code you want, and then copy your code from the box below to the .htaccess file on your website.

Scriptalicious SEO Scripts

SEO Scripts

Add 77 SEO tools to your website with the #1 PHP SEO scripts from Scriptalicious.

1. Select redirect type

Redirect www to non-www

Redirect non-www to www

2. Enter your domain name

Do not include www. Domain name only - e.g. example.com

3. Get your code

4. Copy the code to your .htaccess file




77 powerful SEO scripts for under $100.

Real-time Backlink Rank Checker script.


Scriptalicious is in no way affiliated with myspace.com® or Google®. Google, PageRank™ and MySpace are the trademarks of their owners.