What is Canonical Link Element
Posted by : Dexter Panganiban |You are invited to have my FREE RSS Feeds or you may Subscribe to me via emailfor latest information in this website.
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://techathand.net/2009/02/gsma-2009-nokia-ovi-store/page3/
http://techathand.net/2009/02/gsma-2009-nokia-ovi-store/page4/
http://techathand.net/2009/02/gsma-2009-nokia-ovi-store/?asdalsdkjalsjda
So with the above example it will tell Google to index http://techathand.net/2009/02/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
Interesting Comments
2 Responses to “What is Canonical Link Element”
2 pingsLinks To This Post
-
[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…
-
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
Check my Blogging Tips and Experience
- Technorati is Blocked in SAudi Arabia
- Do you want to download Youtube Videos
- WordPress.ph Made for Filipino
- Do You Need to Provide All Information ?
- I Have Enabled the CommentLuv Plugin For This Site
My WordPress Tips and Tricks
- WordPress Plug-Ins : Separating Comments and Ping
- Yahoo Shortcuts : Will it Boost my Blog ?
- Site Updates : New Top Commentators Plug-Ins Installed
- Download Wordpress 2.6 Beta 1
- How To Make Sub Domain in Dreamhost





























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:
March 16th, 2009 at 9:27 am
@Rein Valdez,
I think not, because it is a Php code..
Reply