I would like to 301 redirect everything from www.latinotimes.com to latinotimes.com can somebody tell me how to do this?
You can create a .htaccess file inside the document root directory for your domain name with the following text: RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^www.latinotimes.com [NC] RewriteRule ^(.*)$ http://latinotimes.com/$1 [L,R=301]
I prefer this approach: RewriteEngine on RewriteCond %{HTTP_HOST} !^example\.com$ [NC] RewriteRule ^(.*)$ http://example.com/$1 [L,R=301] Code (markup): This says that if the domain is NOT equal to example.com, then force it to be example.com. This will catch all alternate domains. The prior example will only rewrite www.example.com to example.com.