Google is indexing urls with parameters despite canonical
-
Hello Moz,
Google is indexing lots of urls despite the canonical in my site. Those urls are linked all over the site with parameters like ?, and looks like Google is indexing them despite de canonical. Is Google deciding to index those urls because they are linked all over the site? The canonical tag is well implemented.
-
Hi there,
As has been pointed out, the rel=canonical tag is just a suggestion to Google that you don't want a page to be indexed or to rank. They can choose to ignore the tag if they want to. If you want to keep pages out of the index, there are a few options:
-
The rel=canonical tag as you've tried
-
Adding a noindex tag as pointed out above
-
Use the URL parameters configuration option in Google Webmaster Tools
Give that you've tried the first one, I'd recommend giving the second two options a try and seeing what happens.
I hope that helps!
Paddy
-
-
I believe the problem here is being caused by the fact that you are using relative, rather than absolute URLs for your canonical tag. I've seen this happen before on a site I was working on. Thanks to awesome suggestions from Moz Q & A from community member George Andrews (endorsed by Dr. Pete Meyers), we updated all of our canonical tags to be absolute URLs instead of relative URLs. This completely solved the exact problem you are describing.
Here's a link to that thread: http://moz.com/community/q/what-is-the-proper-syntax-for-rel-canonical
The best news is, it's a very easy, inexpensive and quick SEO win. I love those!
Dana
-
Thanks for your answerk, but I don't think this can be the solition.
The problem is that Google is indexing urls with parameters, so, I can see in SERPS those urls indexed despite the canonical
But in code you can see:
www.myweb.com/url123?type=3 has the rel="canonical" href="//myweb.com/url123" />
-
Hi,
The rel canonical tag won't prevent pages from being indexed - all it does is act as a way to 'suggest' to Google that there is a preferred page. if you don't want pages indexing, you have to prevent Google from crawling and indexing them (noindex).
-Andy
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
-
Website Not Indexing
My website is not indexing due to someone's complaint in Google that was registered in 2013. The complaint says I am using copyrighted images of someone else on my website but those images were immediately removed by me. I just came to know about this complaint and lodged my problem in Lumen database. Already 14 days has passed but still my page is not indexed. Can anyone please help me?
On-Page Optimization | | varun18000 -
Product Colour Variation and Canonicals
Hi there, We are currently doing an SEO audit of an ecommerce website and we ar eunsure on the best practice in terms of using canonical link tag for some product variations. An example is that the company has a product with two colour variations: Black and Tan. These are for the same product and have 99% the same content. Within the content of the page the colour is the only thing that changes (along with the meta information and imagery of course). My question is should we choose one product and canonically link back to that one i.e. Black is the main product and we link Tan back to this via a canonical link? Many thanks in advance.
On-Page Optimization | | yousayjump0 -
Using Canonical & INDEX, FOLLOW meta tag
I am sort of new to this, and working with an overseas development team on an eCommerce site. I am curious if the Canonical tag will supersede the tag, or if it is best to remove this tag entirely for duplicate product pages?
On-Page Optimization | | BretDarby1 -
Pages indexed but not seen in wordpress
Hi there, the crawler of SEOMOZ has detected that some pages have no title or a short metadescription. The problem is that I can't see these pages in wordpress (in the backend). These pages are irrelevant and must be deleted but I can't find them. How could they be indexed by the Googlebot? Where can I find them? Any hint? Thanks all.
On-Page Optimization | | juanmiguelcr0 -
What are the benefits of the URL meta tag?
We have too many meta tags and want to get rid of all the outdated ones. However, we don't want to eliminate valuable meta tags by mistake. So, before we say goodbye to the URL meta tag, we want to make sure we understand the pros and cons, if any. By the way, we are not referring to canonical URL tags, just URL as in:
On-Page Optimization | | GRIP-SEO0 -
Canonical to the page itself?
Hello, I'd like to know what happens when you use canonical to the same page itself, like: Page "example.com" rel canonical="example.com" Does that impact in something? Bad or good? See ya!
On-Page Optimization | | seomasterbrasil1 -
Cononical URL problem
Hello, In the keywords difficulty tool, one of my client's sites has a different number for links to root domain and links to page even though they're both the home page. How do I tell if I have a cononical URL problem, and what do I do about it if I do? Thank you.
On-Page Optimization | | BobGW0 -
Rel Canonical
Hi Folks I have 77 Rel Canonical warning, and mostly confuse me. Mainly because they seem to be the exact link I would expect for that page. So I'm not so sure why they have been flagged.... two examples below Any thoughts or tips? (please 🙂 ) | Page Title
On-Page Optimization | | PHDAustralia68
URL | Tag value | Page Authority | Linking Root Domains | | BlueTea: New Sydney Kitchen Designs Company, Renovations, Colour Designs http://bluetea.com.au/ bluetea.com.au/ 37 18 Blog | Blue Tea http://bluetea.com.au/2010/10/?cat=15 | bluetea.com.au/category/blog/ | 1 | 0 |
| |0