Ahhh fun topic, right? Not!
First of all, what does that mean and why is it important?
Well, for the non-techie, it means that when one is browsing on a site, the site owner sets it up so that when you type in http://mysite.com you are directed to http://www.mysite.com or vice versa.
This is actually an important canonical SEO issue as technically each page is treated separately, and can create duplicate content issues on your site if this doesn’t get resolved.
Duplicate content on your site = bad for SEO.
How do you fix this?
Step #1 Accessing your .htaccess file
In order to fix this, you are going to need to edit your .htaccess file.
It is alot easier than you think. The .htaccess file resides at the root level of your public_html folder.
Here is a video explaining how to access or create your .htacces file
Step #2 Editing Your .htaccess file
Now you have two options here, www to non-www, or vice versa
www to non-www
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.yoursite.com [NC]
RewriteRule ^(.*) http://yoursite.com/$1 [R=301,L]
non-www to www
RewriteEngine On
RewriteCond %{HTTP_HOST} ^yoursite.com [NC]
RewriteRule ^(.*) http://www.yoursite.com/$1 [R=301,L]
Here is a quick video explaining this.
That is pretty much it.
Again, very very important at the beginning of a website to decide what convention you are going to use and stick with it for linking.
What do you think? If you liked this, please share it so others can benefit from it.
{ 0 comments }




