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
-
301 to canonical
I'm doing some work on a website, they have a very popular product search where you enter a specific part code (6 digits) and it takes you to the product. So for example Search: 123456 Page redirected to domain.com/product/123456 With a canonical of domain.com/product/this-is-the-product-title Would it be beneficial to redirect from /product/123456 to /product/this-is-the-product-title Google seems to be indexing both versions. For some of these products a reasonable amount of links are built.
On-Page Optimization | | ThomasHarvey0 -
Canonical rel
I am having a few issues understanding the whole report card and canonical issue. I have a wordpress blog www.theseolab.com.au. When i created the blog i had setup http://theseolab.com.au and i thought that was my mistake. When i ran the on page report for www.theseolab.com.au . It said that my canonical was http://theseolab.com. So i changed it and my canonical points to http://www.theseolab.com.au. 5 days later i run the on page again and it still says that there are issues and it still shows that my website canonical is not pointing to the right link. Does it take time to update or am i missing something?
On-Page Optimization | | theseolab0 -
Google picking up old pages
I recently redesigned a site that had all the keywords it was ranking for going to the home page. Now I have specific pages for each of these keywords but I'm seeing the home page (not the page that, if I do an on page optimization by hand in MOZ gives me an A rating) showing up in the auto reports (assuming pages Google sees for these keywords related to the url) as F's. They're all pointing to the home page. I've redirected the old index.html home page to the new but I suspect the reason is actually these pages (were) ranking for these terms (though none too well - all but one were not in the top 50 and one was 45) because these rankings are all dropping as well. I'm at a loss, with the site replaced, as to how to correct this and tell Google these keyword phrases all have their own pages now. I've dug through this forum and the only applicable answer I can see would be to add these phases to the home page (where they all rank for now) with anchored links to their new (A rated by Moz for these terms when I hand enter them) singular pages? Or is it just a waiting game?
On-Page Optimization | | adworksofboca0 -
Google indexing page differently
Does google index an interal page differently depending on whether you are using a FULL url (including domain) or just a relative link? Also, is it possible that using a full URL (http://mysite.com/page.html) causes the browser to "ping" the server differently than just having the href linked to using relative links (/page.html) Could this cause server or firewall perfomance issues?
On-Page Optimization | | WebRiverGroup0 -
"On Page" report says 2 rel canonical urls-how do I fix that?
I am reviewing my On Page scores and I'm not getting a perfect score bk of this notice: No More Than One Canonical URL Tag Moderate fix <dl> <dt>Number of Canonical tags</dt> <dd>2</dd> <dt>Explanation</dt> <dd>The canonical URL tag is meant to be employed only a single time on an individual URL (much like the title element or meta description). To ensure the search engines properly parse the canonical source, employ only a single version of this tag.</dd> <dt>Recommendation</dt> <dd>Remove all but a single canonical URL tag</dd> <dd>HOW do I fix that?</dd> <dd>I am using Platinum seo plugin which I have checked "Use canonical urls" and the page in question is</dd> <dd>http://adderalldosage.net/general-adderall-dosage/</dd> </dl>
On-Page Optimization | | ccare7230 -
Rel canonical tag question
Im trying to to fix my duplicate content problem with my catagory pages in my shopping cart. I have read about adding a rel canonical tag to the page so it links back to the main catagory page. So if I add a rel canonical tag to the main catagory page it will show up on every other page for that catagory like page 1 page 2 and so on and it will have the tag linking back to the main cat. That should fix it it right? Now that being said I cant seem to add the tag invetween the head tags. I can add it to the body where I can add content. Will the rel canonical tag work outside the head tags? Any other ideas on this fix? I contacted my people that host the cart to see if they have any features to help this will see what they say.
On-Page Optimization | | Dataken0 -
URL Strucutre
Hi there, Need some advice please on URL structure. I have been doing SEO for quite sometime now, however one thing that always get me is URL structure. I have a decision to make, its either: URL 1 /conditions/allergies/food/ URL 2 /conditions/allergies-food/ Lets say i am optimizing for the key-phase "Food Allergies" what do you think is best practice? I know that this is not a major factor in gaining high SERPs & maybe i'm thinking about it too much, however your input would be really helpful. Kind Regards,
On-Page Optimization | | Paul780 -
Google is indexing spam pages from my site. What is the most effective way to get ride of the search results? Pages are deleted now but should I do something more?
A long time ago I created a forum (Invision Power Board) and it got full of spam. Massive amounts! /forum/ I've now deleted the forum but the spam pages are still indexed on Google. Can I do something else to hurry up the process to get ride of them?
On-Page Optimization | | ocarlsson0