ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Canonical URLs, best practices

February 10, 2012 8:49am

Subscribe [2]
  • #1 / Feb 10, 2012 8:49am

    Linda A

    666 posts

    Reading up on various page improvements as suggested by Google’s Webmaster tools and I’ve come across canonical urls.

    Google says to put them on the non-canonical pages. Does anyone know if it hurts a site to have them on the canonical pages too?

    For example, for most of my blog posts I make the title a link to the url with the post title and I add a permalink at the bottom using the post ID, in case the title needs changing.

    I presume I ought to pick one of these as the canonical url. Should be easy enough to just add to the template and have it pull whichever version of the url I pick in via a template tag. But should I also add a conditional to test that the current page isn’t in fact the canonical page?

    I am also unsure whether the url with the title or the url with the id is the best option. One is better for searches, I would guess, whereas the other is guaranteed to never change.

  • #2 / Feb 12, 2012 2:17pm

    Jasmine Jones

    4 posts

    Canonical urls have there own importance with respect to google…. If you check any software too, you will see it in medium priority or high priority checklist… Its good to have canonical urls..

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases