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
-
What is the correct code to write the rel=canonical in the HTML HEAD of the page?
is it like: html> <head> <link rel="canonical" href="http://example.com/" /> head> <body> ...<ref>sdfdfref> or like:
On-Page Optimization | | dubraverd0 -
Why is this page not ranking?
Can you please tell me why this page is not ranking. http://goo.gl/BqoRT The page doesn't rank at all for keywords but even if I copy a line or 2 of text it still doesn't rank for that text. Any help will be much appreciated.
On-Page Optimization | | JillB20130 -
Does the title tag on the home page affect sub-pages?
Hello. I am thinking of changing our home page title tag to include our two most valuable keywords from two of our sub-pages. Would this help the rankings of those two sub-pages? Thank you!
On-Page Optimization | | nyc-seo0 -
Disappearing Rel=Canonical Code
Hi, I've been getting a lot of rel=canonical warnings from seomoz. I went into the original pages and pasted in plain text the following code: link rel="canonical" href="http://www.example.com/blog/my-awesome-blog-post"< (the > are reversed). After a few crawls I couldn't see any effect from posting the code. When I went and checked again, it didn't stay in the wysiwyg editor. It disappeared! We are using Drupal 6. Could someone tell me what code I should be pasting? Thanks!
On-Page Optimization | | OTSEO0 -
Could incorrect H1 tag stop a page ranking?
A few weeks ago I added an image to the top of each page and somehow (I've only just noticed) the image was inside an h1 tag. Presumably this would be the first element google would crawl and would it consider the image the h1 possibly confusing google about the pages content? My actual h1 further down the page would then possible be disregarded by google? The pages I am talking about have dropped in google and I wonder if this could have been the issue?
On-Page Optimization | | SamCUK0 -
Canonical Notice
I am curious why I receive this canonical notice even though there is a canonical for this homepage. Nq3fD.jpg
On-Page Optimization | | paumer800 -
Why a page with an On Page A grade has a less good rank than a page with a F grade?
Why a page with an On Page A grade is ranked 17 in Google when the home page with a F grade is ranked 9 ? Thanks
On-Page Optimization | | Amadeus_eBC0 -
Should one page with markers or six separate pages?
Hi - I'm working on a site that was set up with 6 bios on one page, with markers jumping to each person's name. I was thinking about separating those into 6 different pages, but not sure if that's the right thing to do. Advice about keeping the bios on one page vs splitting them up? (Am I more likely to rank for those peoples' names if I have a unique page, or is the one page url with each different marker in it, just as good?) Ranking well for those names isn't a huge goal of the site, but it would be nice to make the choice that would help with that rank. Thanks for your input Emma
On-Page Optimization | | emmas0