Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
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
-
NoIndex or Rel=Canonical Pagination
Hello, I had a question about noindex and Rel=Canonical on category page pagination. On my site, the category page the meta="robots" has "Index,Follow" tags and the rel="canonical" is the main category page, but when a user sorts the page the meta="robots" changes to "NoIndex, Follow." My question is should the sorted page be name="robots" content="INDEX,FOLLOW" /> since the rel="canonical" is pointing to the main page?? Or does it matter that it is NoIndex?? Any thoughts on this topic would be awesome. Thanks. Main Category Page
On-Page Optimization | | chuck-layton
https://www.site.com/category/
name="robots" content="INDEX,FOLLOW" />
rel="canonical" href="https://www.site.com/category/"/> Name Sorted Page
https://www.site.com/category/?dir=asc&order=name
name="robots" content="NOINDEX, FOLLOW" />
rel="canonical" href="https://www.site.com/category/">0 -
Does Rel=canonical affect google shopping feed?
I have a client who gets a good portion of their sales (~40%) from Google Product Feeds, and for those they want each (Product X Quantity) to have it’s own SKU, as they often get 3 listings in a given Google shopping query, i.e. 2,4,8 units of a given product. However, we are worried about this creating duplicate content on the search side. Do you know if we could rel=canonical on the site without messing with their google shopping results? The crux of the issue is that they want the products to appear distinct for the product feed, and unified for the web so as not to dilute. Thoughts?
On-Page Optimization | | VISISEEKINC0 -
Title tag length
Hi, I am fairly new to SEO and have just noticed the end of my title text has been cut off by Google in the serps results. Everything i have read tells me titles should be maximum of 70 characters, however, Google is only displaying 54. See below Security systems | wireless | battery powered | Police... Nobody else on the page is showing more than 54 characters. Am i missing something obvious? Any and all help gratefully appreciated. Thanks Si
On-Page Optimization | | DaddySmurf0 -
How do I remove a Canonical URL Tag?
Some of my report cards say I have too many canonical URL tags. However, there is no information no how to delete one. Can someone give me a link or explain? Thanks.
On-Page Optimization | | dealblogger0 -
Is it better to include the secondary keyword or site name in a title tag?
When I add a site name to my title tag with long-tailed primary and secondary keywords the title tag is longer than 70 characters. I need to include all three parts, so what should I do? At 70 characters the site name is usually partially cut off. I do not want to get penalized by Google, but I need to include the site name to have consistency. I am using the format Primary Keyword-Secondary Keyword | Site name
On-Page Optimization | | lwilkins0 -
What does the "base href" meta tag do? For SEO and webdesign?
I have encounter the "base href" on one of my sites. The tag is on every page and always points to the home URL.
On-Page Optimization | | jmansd0 -
Using commas in the title tag?
Is there a disadvantage/advantage to using commas to separate words in the title tag. Which will be more effective as a title tag: "keyword1 keyword2 - Brand" OR "keyword1, keyword2 - Brand"?
On-Page Optimization | | Audiohype0 -
Should I include location in title tag to rank higher in local search
I'm working on a site for a small guest house (http://www.tommysonthebeach.com). I have created a Google Place page (Bing and Yahoo Local) as well and I have the address in the footer on every page. I have the location (Indian Rocks Beach) at the beginning of most titles tags because that is how people tend to search, e.g. "Indian Rocks Beach vacation rental." In theory I would think that I don't need location in the title tag because Google knows the location, and I could use the real estate for other keywords suchs as "pet friendly" or "beach hotel," etc. But when I look at the SERPS, those ranking highly all seem to have the location at the beginning of the title tag. Thanks. P.S. The site is currently not showing up in Google local search apparently because Google thinks it's a vacation rental agency, which are not allowed in local search. I'm trying to get that fixed.
On-Page Optimization | | bvalentine0