Canonical URL for SEO – The Best Practices To Avoid Duplicate Content
A few articles back you might noticed that we posted how
to Setup, Configure And Use All In One SEO Pack and in that post we just
mentioned you to check the canonical URL’s in general settings, since it’s a
topic about All in one SEO pack we haven’t explained you about canonical URL’s.
In this post you will learn what is canonical URL? How
canonical URL’s does helps you in SEO and some best practices to avoid
duplicate content?
Duplicate Content. (Canonical URL For SEO)
WordPress and other CMS make similar same content on
different places (URL) which looks like a self-created duplicate content within
your site that is without your knowledge.
WordPress and other CMS make similar same content on
different places (URL) which looks like a self-created duplicate content within
your site that is without your knowledge.
For example take a look at these two URLs !
http://your-site.com/wordpress/set-maximum-image-upload-size-wordpress/
And
http://your-site.com/how-to/set-maximum-image-upload-size-wordpress/
I have Assigned This Post In Two Related Categories for
more user experience and what it gets me is two different URL’s having same
content that is duplicate content. Google and other search engines think
that you have two different URL’s with same content (duplicate). So what to do
with this issue? This is where the canonical URL helps you.
What Is Canonical URL And How Does It Help In SEO?
The word canonicalization is used in computer science which
refers to giving an approved format to something with some rules. Not clear: Canonicalization is
establishing authority to something.
----- For Example Take That Two URL’s Above:- Search engines
doesn’t know which URL is right and which one to index and by using canonical
URL I am setting a preferred URL (Standard, required, correct, original,
established) and by doing so search engine indexes the right URL and simply
rejects the other from indexing.
----- So What About The Other URL? The other URL looks normal
for humans, but to crawlers it is a 301 redirect which passes more authority to
the original URL that helps to rank well in search results.
----- What About Backlinks? Backlinks pointing to
non-preferred URL also does a 301 redirect to original URL.
Right click on both URL’s and view page source you will see
this tag that is added in site’s header and this is canonical URL.
<link rel=”canonical” href=”http://your-site-name.com/wordpress/set-maximum-image-upload-size-wordpress/”/>
This tag rel=”canonical” is yet another parameter
something like rel”nofollow” tag that you commonly use. So you have the
right URL’s indexed in search engines which does a great job in ranking that
URL which has more authority.
How To Set A Canonical URL In wordpress?
To set a canonical URL in wordpress follow these three steps.
1. Setting Up Canonical URL For Homepage In Wordpress General Settings
Set any one prefer domain http://www.yourdomain.com or http://yourdomain.com.
We prefer http://your-site-name.com so when the users type www.your-site-name.com it
simply redirects to the main version. How to do this? Go to wordpress dashboard
>> general settings and enter your preferred domain in wordpress address
(URL).
2. Verify Your Canonical URL For Homepage In Google Webmaster Tools
Login to your Google Webmaster Tools and select
your domain. Go to site settings and set your preferred domain and save.
3. Adding Canonical URL’s For All Posts And Pages In Wordpress
Adding canonical URL to posts and pages is the main thing.
To do this Just install any one of these SEO plugins and it does the job. Yoast
SEO automatically adds canonical URL and for All In One SEO check
canonical URL’s in general settings.
Hope this article helped you with canonical URL’s and that
gets you from avoiding duplicate content. Now you don’t need to worry about
duplicate contents in your site anymore. Happy Blogging!
Please share if you like this article and give your feedback
by commenting below and subscribe to This Blog to get the latest updates.
ReplyDeleteI really appreciate your post, and you explain each and every point very well. Thanks for creating great content kindly share the review on Does duplicate content actually hurt SEO