What is Canonical Link Element

I just learn from Twitter that Google, Yahoo and Microsoft implemented and announces Last week  support for a new link element to clean up duplicate urls on sites. And it is what they called. Canonical Link Element in 5 minutes

What is Canonical Link ?

It is a link that will tell Google to index the permalink of your post and not the duplicate content of your post such as follows :

http://www.techathand.net/gsma-2009-nokia-ovi-store/page3/

http://www.techathand.net/gsma-2009-nokia-ovi-store/page4/

http://www.techathand.net/gsma-2009-nokia-ovi-store/?asdalsdkjalsjda

So with the above example it will tell Google to index http://www.techathand.net/gsma-2009-nokia-ovi-store/ and not the other URL mentioned above.

So What is the Solution ?

I am not really that fun of installing lots of plug-ins in my site so if I can make it in PHP it will be better. Since the link should be inserted in the head part of the post I made this php code inserted in my header. { It means put it before </head> part of the header code }

<link rel="canonical" href="<?php the_permalink() ?>" />

I think it works since even if I test it my other blog post it still shows the permalink as the canonical link.

But if you don’t want to mess your Header Codes from WordPress you can install plug-ins. The Yoast Plug-in did not help me since it is clashing with my other plugin and I believe a simple code as shown above works.

Source : mattcutts.com , marhgil & noel bautista

Related Posts Plugin for WordPress, Blogger...

Incoming search terms:

Enter your email address:

About the author

Dexter is a person who loves technology,new gadget, SEO, Social Media and Christianity. Follow him at twitter via @techathand and add him @ Google+ and contact us at admin@techathand.net

Sign up for PayPal and start accepting credit card payments instantly.

Interesting Comments

Note : All Comment will be subjected to Tech At Hand Dot Net Comment Policy

2 Responses to “What is Canonical Link Element”

  1. Rein Valdez on March 14th, 2009 11:39 am

    Thank you for the code. Does it work to a free blogger account?

    Rein Valdezs last blog post..Ups and Down

    Reply

    Dexter Panganiban Reply:

    @Rein Valdez,

    I think not, because it is a Php code..

    Reply


2 pingsLinks To This Post

  1. [BLOCKED BY STBV] Work At Home Dad on February 17th, 2009 12:53 am

    How Can the New Canonical Tag Eliminate your Duplicate Posts?…

    The 3 major search engines agree on a way to tackle duplicate posts within your site.   It has been a problem before when a certain web page can be accessible via different URLs.
    Example is
    http://www.example.com/products/
    In some websites, the same web pag…


  2. Techathand.net Twitter Updates for 2009-02-17 | techathand.net on February 18th, 2009 10:17 am

    [...] @techathand What is Canonical Link Element http://techathand.net/?p=2464 [...]


Leave a Reply




Google+

My Sponsors

Help My Father's Kidney Dialysis Expenses

Help in My Father’s Kidney Dialysis by Contributing Articles and/or Being Our Link Builder

Subscribe to RSS feed

Subscribe to RSS feed

Enter your email address:

Categories