May 20, 2014

Why it's important to redirect your domain to WWW or without


By redirecting your domain to use www.yourdomain.com or yourdomain.com. You are greatly increasing your website's SEO optimization and search engine ranking. Websites that are indexed with URLs linking to www and non www urls that are showing the same content would be penalized.

It's also about preference in which route you decide to take but we have found that the majority are using "www" redirection within their .htaccess file.

Here is an example on how you can achieve this on your website.

RewriteCond %{HTTP_HOST} !^www.yourdomain.com$ [NC]
RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [L,R=301]