Canonical URL Issue
-
Hi Everyone,
I'm fairly new here and I've been browsing around for a good answer for an issue that is driving me nuts here.
I tried to put the canonical url for my website and on the first 5 or 6 pages I added the following script SEOMoz reported that there was a problem with it. I spoke to another friend and he said that it looks like it's right and there is nothing wrong but still I get the same error.
For the URL http://www.cacaniqueis.com.br/video-caca-niqueis.html I used the following:
<link rel="<a class="attribute-value">canonical</a>" href="http://www.cacaniqueis.com.br/video-caca-niqueis.html" />
Is there anything wrong with it?
Many thanks in advance for the attention to my question..

Alex
-
As far as I can tell, there does seem to be a few issues.
First, I'm not quite sure why you are specifying canonical urls. They are used to specify a preferred version of a set of similar pages. The pages you have put canonical links on do not have similar pages.
Second, your implementation of the canonical link is incorrect. You should put the link in the section of the non-canonical versions of the page. However, seeing as you do not seem to have similar pages, you should not be including the canonical link anyway.
Hope this helps.
-
The script you have added is perfectly fine. Also, there is no harm in adding the canonical especially if have added analytics tracking parameters on the links whether internal or external. This helps in ensuring that all links point to page without parameters.
I am assuming that SEOmoz must be giving NOTICE and not reporting it as an ERROR which is perfectly fine.
-
Thanks guys! I much appreciate your help.
The issue reported on SEOMoz is in fact just a NOTICE and not an ERROR so I'm ok but maybe perfectionism is driving me mad.
We don't normally do websites in plain html anymore but we wanted to try to see the results of that website and it's doing really well in terms of indexing the pages and being found but a nightmare to manage manually the pages and my guys are starting to ask for a dynamic version with a CMS to makes things easier when it comes to update pages.
Thanks again!
Alex