Canonical tags in the body?
-
Hi there,
Does anyone know if placing canonical tags in the body instead of the header of a page will still "take"? The system we are on means that making an editable header is no easy business and I was just wondering how big of a difference it makes to have it in a different area.
Thank you in advance.
-
Thanks Dirk!
-
Google says to place the canonical tag in the HTTP header, and that to me, would suggest that this is where they look for it.
Someone else might have a work-around, but I don't don't think it makes for a good strategy.
-Andy
Edit - As Dirk said
-
Hi,
It will not work when you put it in the body - check mistake 5 on this page: http://googlewebmastercentral.blogspot.be/2013/04/5-common-mistakes-with-relcanonical.html
"When we encounter a rel=canonical designation in the , it’s disregarded. "
rgds
Dirk
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Canonical Homepage Multi-language Website
Hello, Our development department is building a multi-language webshop.
On-Page Optimization | | X-com_Maasbree
Due to the multi-language module that they've used, we have example.com and example.com/nl having exactly the same content. In order to avoid duplicate content, those pages have the following canonicals:
1. example.com -> Canonical to example.com/nl
2. example.com/nl -> Canonical to example.com/nl Do I loose SEO-value by not canonicalising directly to the root-domain homepage (example.com)?0 -
IMG ALT tags - should they be the same or the product title?
I have about 300 products. Should I make all my IMG ALT tags with my keywords, such as sea glass jewelry, sea glass necklace, sea glass bracelets? Or, should I make them what their title is, some of which do not pertain to the keyword, such as By the Sea. Some of my products do have keywords in them, but not all. I am hesitant on changing all the titles, as almost all URLs are indexed.
On-Page Optimization | | tiffany11030 -
H1 tag mandatory?
Hi there! Is a mandatory to fullfill the H1 tag in order to improve SEO? I mean I'm in the case where the keyword selected is appropiate to optimize the page but not appropiate to be in H1 tag 'cause it probably "doesn't sound good" to the user. Is it enought to be present in the url, title and description?Any suggestion? Thanks in advanced.
On-Page Optimization | | juanmiguelcr0 -
Title tags for deep pages
Just pondering what is current best practice for Title tags of pages buried deep within my website? Say I have a page about 'Cheese's of the world' and from that page there is a page about 'Cheshire Cheese' how would you suggest to structure title tags Would for example this be ok - Cheshire Cheese | Cheese's of the World | Brand name Or is this better - Cheshire Cheese | Brand name Just wondering as I'm redesigning my site currently and looking at everything! Ted PS - I like cheese 🙂
On-Page Optimization | | Jon-C0 -
Duplicate Content- Best Practise Usage of the canonical url
Canonical urls stop self competition - from duplicate content. So instead of a 2 pages with a rank of 5 out of 10, it is one page with a rank of 7 out of 10.
On-Page Optimization | | WMA
However what disadvantages come from using canonical urls. For example am I excluding some products like green widet, blue widget. I have a customer with 2 e-commerce websites(selling different manufacturers of a type jewellery). Both websites have massive duplicate content issues.
It is a hosted CMS system with very little SEO functionality, no plugins etc. The crawling report- comes back with 1000 of pages that are duplicates. It seems that almost every page on the website has a duplicate partner or more. The problem starts in that they have 2 categorys for each product type, instead of one category for each product type.
A wholesale category and a small pack category. So I have considered using a canonical url or de-optimizing the small pack category as I believe it receives less traffic than the whole category. On the original website I tried de- optimizing one of the pages that gets less traffic. I did this by changing the order of the meta title(keyword at the back, not front- by using small to start of with). I also removed content from the page. This helped a bit. Or I was thinking about just using a canonical url on the page that gets less traffic.
However what are the implications of this? What happens if some one searches for "small packs" of the product- will this no longer be indexed as a page. The next problem I have is the other 1000s of pages that are showing as duplicates. These are all the different products within the categories. The CMS does not have a front office that allows for canonical urls to be inserted. Instead it would have to be done going into the html of the pages. This would take ages. Another issue is that these product pages are not actually duplicate, but I think it is because they have such little content- that the rodger(seo moz crawler, and probably googles one too) cant tell the difference.
Also even if I did use the canonical url - what happened if people searched for the product by attributes(the variations of each product type)- like blue widget, black widget, brown widget. Would these all be excluded from Googles index.
On the one hand I want to get rid of the duplicate content, but I also want to have these pages included in the search. Perhaps I am taking too idealistic approach- trying to optimize a website for too many keywords. Should I just focus on the category keywords, and forget about product variations. Perhaps I look into Google Analytics, to determine the top landing pages, and which ones should be applied with a canonical. Also this website(hosted CMS) seems to have more duplicate content issues than I have seen with other e-commerce sites that I have applied SEO MOZ to On final related question. The first website has 2 landing pages- I think this is a techical issue. For example www.test.com and www.test.com/index. I realise I should use a canonical url on the page that gets less traffic. How do I determine this? (or should I just use the SEO MOZ Page rank tool?)0 -
Why is On-Page showing canonical wrong?
I'm trying to use the On-Page report card and it's saying that my rel=canonical is wrong, I've looked and I can't see anything wrong with it, am I missing something? The url is www.harrisonlighting.co.uk/childrens-lights.html
On-Page Optimization | | HarrisonLighting0 -
Does it matter what text you wrap in an H1 tag?
Typically H1 tags are reserved for page headings, i.e. on a blog post the blog post title is very often the pages H1, or top-level heading as the W3C puts it. On the SEOmoz home page they currently have "SEO Software." as their H1 tag, which seems perfectly reasonable and to me fits the W3C criteria. However, what if the primary keyword for SEOmoz was "seo community" so they decided to wrap just those two words in the sentence that follows on their home page and maintain the existing style of the words "seo community" with CSS. (see attachment) Are there any arguments against doing that? Would Google be able to detect this? If so, would Google care? I do believe the overall importance of the H1 tag has lessened to a degree, however I still believe they are valuable to an extent and would love to hear anyone's thoughts. 7NZcD.png
On-Page Optimization | | TakeLessons1 -
Should I noindex both category and tag archive pages if I have an excerpt format?
I am creating a blog and want to know if I should noindex archives for categories and tags. I changed the format of my blog to excerpts to prevent duplicate content, but I want to make sure I also need to noindex those pages. Please help!
On-Page Optimization | | lwilkins1