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.
Rel canonical tag back to the same page the tag is on?
-
Very simple,
Why would a website (and I have seen tons doing this) link the rel canonical tag back to the same page the tag is on?
Example: somepage.htm has a canonical tag linking to somepage.htm
I thought the idea of this tag was to tell google if 2 pages are similar, this page is the original, and it's this page which should be indexed and the page with the tag on should pass all PR to the original.
Maybe im wrong and someone can help me out to understand this.
-
For all practical purposes, Google doesn't seem to index pages where it recognizes the canonical as legitimate. You won't find them in a "site:" query, "cache:" command, etc. Google may call that a "filter", but once it's reached that point, the URL is as good as de-indexed. There may be subtle, technical distinctions, but the end result is virtually the same.
-
Not quite. Canonical (per Matt Cutts) is considered a hint as to what the real page is. It doesn't stop the duplicate page from being crawled or indexed (a page that isn't indexed will not show up anywhere in Google for any query), it prevents the duplicate page from winning the duplicate race (i.e. if you don't pick a winner, Google will pick one for you).
-
Thanks Tom (and everyone else for the replies),
So if someone linked to a page with a querystring Google wouldn't index that page because the canonical tag is pointing to a url which doesn't have that query in?
I like the scraped part as well, that in itself makes it worth while.
-
Newegg.com uses this because they have affiliates, searches and numerous other things that affect their query strings.
Remember that ANY change to the query string is seen as a new page. So
domain.com?page=a&link=1
domain.com?page=a&link=2are considered separate pages, even if they return the same content.
Canonical is used to determine which duplicate page "wins" the index race. All other versions are considered duplicate and, thus, devalued.
-
There's a couple of reasons why people might want to do this (and why I do with all my websites)
First of all, the page/site might be scraped and replicated by a bot, particularly if it's an authority domain. Having your canonicals in place to begin with will help reduce the chance of your content being seen as duplicate, should a bot scrape your site.
Another reason would be if a website might generate any additional versions of the page through queries, eg www.domain.com/page.php?query2 - Having a self referring canonical will also tell Google that you want to rank the URL without any other queries, which can help prevent any of those queries appearing in the Google index and/or SERPs.
-
Hi,
I am not an expert, so please do not take my answer very seriously. What you mention, of making a canonical tag pointing to the same URL, looks fine. In my understanding, canonical tags were created to tell the search engines that a page is the right one, even if the system you are using creates address that could look like duplicate content. For example, if you are using a Content Management System like wordpress or Joomla, you could have the following:
-
http://domain.com/date/month/page1 and so on.
Search engines (again, I am not sure, I am just a newbee), could think all this pages are duplicate content, and could penalize you for this. But if you indicate with the canonical tag that the right url is http://domain.com/page1, then you are safe.
I hope somebody with more experience could help you better,
Best Regards,
Daniel
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
-
On-page SEO
This is a question for the organic SEO experts, once you added the main keyword that you want to rank for in the homepage title, meta title plus meta description, perhaps once or twice in the text on the homepage. How often do you then write it in the content marketing, say blog posts, we want to rank higher on Google for "SEO agencies Cardiff" however if you mention this in the blog posts too much say once a week, this could lead to over optimisation issues?
On-Page Optimization | | sarahwalsh1 -
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 -
Category pages, should I noindex them?
Hi there, I have a question about my blog that I hope you guys can answer. Should I no index the category and tag pages of my blog? I understand they are considered as duplicate content, but what if I try to work the keyword of that category? What would you do? I am looking forward to reading your answers 🙂
On-Page Optimization | | lucywrites0 -
Multiple H1 tags on Squarespace blog page?
Hi All, I use Squarespace and while running my site (https://www.growmassagebusiness.com) through programs am seeing that my blog posts are being seen as one page with multiple H1 tags. I read through the SS help desk and found back in 2015 someone wrote that it's not a bit deal b/c of HTML5 and that the search engines will read each blog post as a sub-page. I'm not so sure about that and wondering what the experts think? If that is screwy then I'm considering possibly making each blog post it's own page rather than using their blog posting format.
On-Page Optimization | | rajam0 -
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 -
Page Title in Local SEO Title Tags?
Hi All, Still working on my title tag usage for local SEO, and I was hoping for some more feedback. My question is this: In Local SEO titles, I'm using location + keyword combinations, unique on each page. However, since each page has a specific title for the client, I figure I should be placing that at the front. My thought here was that this helps with the overall usability to the reader of the website. Ex. Contact Us page for Pizza shop Contact Us | Springfield IN Gourmet Pizza | Moe's Italian Pizza Anyone have thoughts on this one? Thank you!
On-Page Optimization | | kbaltzell0 -
301 redirects from several sub-pages to one sub-page
Hi! I have 14 sub-pages i deleted earlier today. But ofcourse Google can still find them, and gives everyone that gives them a go a 404 error. I have come to the understading that this wil hurt the rest of my site, at least as long as Google have them indexed. These sub-pages lies in 3 different folders, and i want to redirect them to a sub-page in a folder number 4. I have already an htaccess file, but i just simply cant get it to work! It is the same file as i use for redirecting trafic from mydomain.no to www.mydomain.no, and i have tried every kind of variation i can think of with the sub-pages. Has anyone perhaps had the same problem before, or for any other reason has the solution, and can help me with how to compose the htaccess file? 🙂 You have to excuse me if i'm using the wrong terms, missing something i should have seen under water while wearing a blindfold, or i am misspelling anything. I am neither very experienced with anything surrounding seo or anything else that has with internet to do, nor am i from an englishspeaking country. Hope someone here can light up my path 🙂 Thats at least something you can say in norwegian...
On-Page Optimization | | MarieA1 -
Creating New Pages Versus Improving Existing Pages
What are some things to consider or things to evaluate when deciding whether you should focus resources on creating new pages (to cover more related topics) versus improving existing pages (adding more useful information, etc.)?
On-Page Optimization | | SparkplugDigital0