a few months ago we set up canonical URLs for many page types such as http://www.wowhead.com/item=50362/deathbringers-will. This worked very well and google picked them all up.

A few days ago I implemented the same thing for blog posts but mysteriously it's not working.

<link rel="canonical" href="/blog=174055/cataclysm-beta-patch-build-13316" />

This blog post was written after my change but google shows www.wowhead.com/blog=174055 as the URL; any reason why? I can't really figure it out, the content of the pages is the same, and it's not really any different than what we did with /item and that worked.

2 Answers 2


Your root-relative canonical URL looks funny to me. I'm inclined to include your domain name there. Google says:

The rel="canonical" attribute can be used with relative or absolute links, but we recommend using absolute links to minimize potential confusion or difficulties. If your document specifies a base link, any relative links will be relative to that base link.

I would be hesitant to judge how Google is indexing until a good amount of time has passed. How old is that url?

  • 1
    it happens on all NEW blog posts, even if they are only minutes old. We use relative paths for all other page types and it has always worked. Nov 18, 2010 at 16:42
  • And have you tested using absolutely links for any posts? I'd say test that.
    – artlung
    Nov 18, 2010 at 16:46
  • I didn't and it would be very complex to do; since relative URLs work for all other page types I don't see why it would be the problem =( Nov 18, 2010 at 16:56
  • Well, your answer to the problem is that Google is not working as expected. If you want to see if it might make a difference, you'll have to test it. :-|
    – artlung
    Nov 18, 2010 at 17:27
  • This seems to have worked; thanks. It's still very weird because pages like wowhead.com/item=2454 use and have always used relative URLs and always worked. :S Nov 21, 2010 at 15:31

Using absolute versus relative URLs and giving it a bit of time should ... er, actually does work.


Google is presenting your canonical URL.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.