Our free 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.