"rel=canonical" - Brand New Google Attribute

Discussion in 'Google' started by Guthix121, Feb 16, 2009.

  1. #1
    Google has just recently released a new type of <link> attribute. It's the rel="canonical" attribute. This attribute is used to specify a preferred domain, so that Google bots don't penalize you for duplicate content.

    To use this, simply place the following code into your head section:
    <link rel="canonical" href="PREFERREDURL" />
    Code (markup):
    This is very useful for dynamic sites and forums. For example, you can access the 'Google' forum here through these URLs:

    http://forums.digitalpoint.com/forumdisplay.php?f=5
    http://forums.digitalpoint.com/forumdisplay.php?f=5&daysprune=-1&order=asc&sort=title
    http://forums.digitalpoint.com/forumdisplay.php?f=5&daysprune=-1&order=desc&sort=lastpost
    http://forums.digitalpoint.com/forumdisplay.php?f=5&daysprune=-1&order=desc&sort=views
    http://forums.digitalpoint.com/forumdisplay.php?f=5&daysprune=-1&order=desc&sort=voteavg

    and many others...

    Now, this is just a duplicate content disaster waiting to happen. So what do you do? You simply place <link rel="canonical" href="http://forums.digitalpoint.com/forumdisplay.php?f=5" /> into the head tag of this forum, and Google bots won't index any URLs but that one.

    Read more here: http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html

    PS: I believe this also solves the whole /index.php dilemma :p
     
    Guthix121, Feb 16, 2009 IP
  2. psuser

    psuser Active Member

    Messages:
    103
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    71
    #2
    Thank you. good news
     
    psuser, Feb 16, 2009 IP
  3. bweller

    bweller Peon

    Messages:
    52
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Excellent. Thanks for the news. Now I know what I'll be doing tonight!
     
    bweller, Feb 16, 2009 IP
  4. dpEv

    dpEv Guest

    Messages:
    116
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Great news! well done google. A step ahead once again. This will solve heaps of issues.
     
    dpEv, Feb 16, 2009 IP
  5. malcolm1

    malcolm1 Prominent Member

    Messages:
    7,148
    Likes Received:
    758
    Best Answers:
    0
    Trophy Points:
    310
    #5
    Hello...

    Yea read this 2-3 days ago at webpronews...

    thx for sharing info ;)


    thx
    malcolm
     
    malcolm1, Feb 16, 2009 IP
  6. JeddahBikers

    JeddahBikers Guest

    Messages:
    305
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Good news , Thanks
     
    JeddahBikers, Feb 16, 2009 IP
  7. myinnet

    myinnet Peon

    Messages:
    81
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Thanks for sharing with us.
     
    myinnet, Feb 16, 2009 IP
  8. Chancey

    Chancey Well-Known Member

    Messages:
    3,933
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    130
    #8
    I read it on carlocab 3 months ago.
     
    Chancey, Feb 16, 2009 IP
  9. Lpe04

    Lpe04 Peon

    Messages:
    579
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #9
    When I first read the name of this, thought it was something completly different. Have fun updating! (How long till Yahoo follows suit? :)
     
    Lpe04, Feb 16, 2009 IP
  10. WishBone

    WishBone Peon

    Messages:
    2,566
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I've just heard that, pretty interesting, thanks.
     
    WishBone, Feb 16, 2009 IP
  11. fr@nc!z

    fr@nc!z Active Member

    Messages:
    1,545
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    80
    #11
    So this attribute will resolve the issue on duplicate content, right? :rolleyes: :rolleyes:
     
    fr@nc!z, Feb 16, 2009 IP
  12. Hussein

    Hussein Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    That's good ,

    Thank you for the news .
     
    Hussein, Feb 16, 2009 IP
  13. Timehacker

    Timehacker Peon

    Messages:
    121
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Great news, thank you for sharing this. I guess this may help lot of wembasters.
     
    Timehacker, Feb 16, 2009 IP
  14. Sphinks

    Sphinks Active Member

    Messages:
    1,102
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    78
    #14
    Sphinks, Feb 16, 2009 IP
  15. thatdaveguy

    thatdaveguy Peon

    Messages:
    232
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #15
    Does this tip apply to blogs? If so, how would one want to implement it?
     
    thatdaveguy, Feb 16, 2009 IP
  16. rahman_abrar

    rahman_abrar Active Member

    Messages:
    357
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #16
    Thanks buddy, it will solve many of our problems.
     
    rahman_abrar, Feb 17, 2009 IP
  17. luxl85

    luxl85 Member

    Messages:
    100
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #17
    Do this attribute work in Any other se as yahoo live...?
     
    luxl85, Feb 17, 2009 IP
  18. SEO_WatchDog

    SEO_WatchDog Well-Known Member

    Messages:
    1,148
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    115
    #18
    Hm, what an interesting piece of news! Thanks, man
     
    SEO_WatchDog, Feb 17, 2009 IP
  19. bmatthews

    bmatthews Active Member

    Messages:
    171
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #19
    Great News! This will sort out a Whole bunch of issues I've been having with a few of my sites!
     
    bmatthews, Feb 17, 2009 IP
  20. patzz

    patzz Member

    Messages:
    77
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #20
    Thanks for the sharing that great
     
    patzz, Feb 17, 2009 IP