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
-
Canonicals
I dynamically generated pages using rewrite functions in wordpress (new-york, san-diego, san-francisco). All these pages look the same but with different content. yoast (seo wordpress plugin) was unaware of this and set canonicals up relating to the wordpress page used as the template page for the dynamic pages (City_home_page). so all these pages had the canonical https://dinnerdancecruises.com/City_Home_Page. using search console, i saw google indexed my site, looked at all these dynamically created pages (which is about 30 pages) and took them all in as duplicate pages. this happen sometime in april or may. I fixed this problem and set unique canonicals up for each dynamically created page. but now google is not crawling them for some reason. im not sure why its been months and these pages are not indexed. i thought to myself is it because these links end up on multiple pages? sort of like having "terms of agreement" link at the footer. every single page has that terms of agreement link. does google look at those links as duplicates and not index the page at all. this is where my issue lies. i need google to crawl regularly and see those pages with their new, unique canonicals and re-index them correctly. but it seems to save cpu resources, google feels once a thief always a thief. i could be wrong but this is why i need your suggestion. thank you.
On-Page Optimization | | bobperez7360950 -
Joomla Home Page Title Tag Issue
I have got a site that requires to have a custom title tag for its home page (primarily). Its using Joomla 3.3.1. I am not using any SEO components as of now. I have checked the the global configuration, It has Polymer Resources as the site name. I am also attaching copy of the Menu Manager>Main menu> home I would like to see the Home Page browser Title to read: Custom Engineered Plastic Resin | Polymer Resources But my current settings does not let me change the home page title. Any help in this regard will be highly appreciated. Thank you in advance 7yfHVw0.png KzouLB7.png
On-Page Optimization | | ArthurRadtke0 -
Rel="canonical" at the same page
Hello Everyone!! We have a Joomla Site and in the template we have a php function that create the **link rel="canonical" **and in the href inserts the same page url. For example, if the we do a search and the url have some cookies. That Url is gonna be the **rel="canonical" **for that page. Is it working correctly? We need an advice to to set it up correctly! Thanks!
On-Page Optimization | | mycostaricalink0 -
Rel=Publisher
Hi Since rel=publisher code should be added to the head tags of a website surely this means that would then show up on every main page of a site but i'm looking at a few sites using the rich snippet testing tool and its only showing for home page - how come ? Cheers Dan
On-Page Optimization | | Dan-Lawrence0 -
Is it redundant to include a redirect to my canonical domain (www) in my .htaccess file since I already have the correct rel="canonical" in my header?
I've been reading the benefits of each practice, but not found anyone mentioning whether it's really necessary to do both? Personally I try to stay clear of .htaccess rewrites unless it's absolutely necessary, since because I've read they can slow down a website.
On-Page Optimization | | HOPdigital0 -
Will canonical tag on non-copy content harm my site?
Days ago I added rel=canonical tags on my site. For the post pages, I add canonical tag on both post page (www.exmample.com/post.html) and comment page (www.exmample.com/post-sms.html), all the canonical tags are pointing to post page, but in fact there are only comments on the comment page. For product pages, I add the canonical tags on both product info page, download page, and order page, all of them are pointing to the info page, while in fact they are displaying different content. I no-indexed the comment page, download page, and order page for a long time. After I added the canonical tags, the traffics dropped (not hugely but slowly and steadily). Are my actions harming my site? Is this a normal flux after adding codes to the entire site, or it's the bad outcome for wrong SEO actions? PS: I can't change the site structure, so it's not possible to combine post and comment pages into one, so do the product pages. Thank you guys
On-Page Optimization | | JonnyGreenwood0 -
How can I reduce Too Many On-Page Links? I am looking for best method through which I can reduce by on page link.
Hello, As I have the Pro Account in SEOMOZ . I have created the campaign for my website and I have seen the warring for on page analysis for Too Many On-Page Links. As per my knowledge in past it's matter that you can put maximum 100 links per page but now is it still matter or harm if pages has Too Many On-Page Links? And if yest then please let me know the best method to reduce my On-Page Links with out doing any major changes in website
On-Page Optimization | | jemindesai0 -
Should we add a link from every page with main keyword back to homepage
Dear all, We have a call for action on the bottom of all our 10K plus pages which has the words private jet charter in it. Here is what the sentence looks like: Call +1-877-727-2538 to hire private jet charter flights or get a private jet quote The "private jet charter" link goes to the homepage - the homepage has always ranked for the same keyword. Even though we have a separate page for private jet charter itself which may or may not be competing with homepage for the same keyword. The question is - does this help our efforts to rank higher for private jet charter or does it not. It used to be that the more links from all pages for specific keyword coming back to homepage was good - but now maybe algorithms may have changed and not sure.
On-Page Optimization | | Richard7770