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
-
Catergories not appaearing in google help!
Hi I call upon the seomoz experts again this time regarding getting our categories to show in google when you type in our company name Tidy Books. Ive added 3 pictures 1 of our UK store www.tidy-books.co.uk 2 of US store - www.tidy-books.com 3 of a competitor who has over taken us and had the Google mark up we require. Would some love help some help in the last few months we've lost a few places and traffic is going down Thanks everyone ItiqzWV 6g8e1Zy I2qEJCc
On-Page Optimization | | tidybooks0 -
Website Changes Updated in Google...
How long does it take for Google to recognize SEO changes that I have made to my website?
On-Page Optimization | | AubbiefromAubenRealty0 -
Our sitemap is not indexed well
Hey there, Hope you guys can help. We get the following error: Nested indexing. Another Sitemap index refers to the index of sitemaps. The thing is that we cant find the error they are talking about. Thanks!!!!
On-Page Optimization | | Comunicare0 -
No index parts of a page?
Little bit of an odd question this, but how would one go about getting Google to not index certain content on a page? I'm developing an online store for a client and for a few of the products they will be stocking they will be using the manufacturers specs and descriptions. These descriptions and specs, therefore, will not be unique as they will be also used by a number of other websites. The title tag, onpage h1 etc will be fine for the seo of the actual pages (with backlinks, of course) so the impact of google not counting the description should be slight. I'm sure this can be done but for the life of me I cannot remember how. Thanks Carl
On-Page Optimization | | Grumpy_Carl0 -
The URL Inside
Howdy SEO'ers, I have a quick question for the SEO gurus out there. When constructing "better" search friendly URLs would one of these be better than the other? Example 1: http://Domain.com/Category/Sub-Category/Product-name Example 2: http://Category.Domain.com/Sub-Category/Product-name In this example the category could be phones and the sub-category brands of phones. Is either one of these URLs "better" than the other in terms of ranking? Thanks! I'll hang-up and listen to your answer. 🙂 Jonathan
On-Page Optimization | | creativedepartment0 -
Shall Google index a search result?
Hi, I've a website with about 1000 articles.Each article has one ore more keywords / tags. So I display these keywords at the article page and put a link to the intern search engine. (Like a tag cloud) The search engine lists als articles with the same keyword and creates a result page. This result page is indexed by Google. The search result contains the title of the article, a short description (150-300 chars.) and a link to the article. So, Google believes, that there are about 5.000 pages instead of 1.000 because auf the link to the search result pages. The old rule was for me: More pages in Google = better. But is this still true nowadays? Would be a "noindex, follow" better on these search result pages? (Is there a way to tell Google that this is a search result page?) Best wishes, Georg.
On-Page Optimization | | GeorgFranz0 -
Would it be bad to change the canonical URL to the most recent page that has duplicate content, or should we just 301 redirect to the new page?
Is it bad to change the canonical URL in the tag, meaning does it lose it's stats? If we add a new page that may have duplicate content, but we want that page to be indexed over the older pages, should we just change the canonical page or redirect from the original canonical page? Thanks so much! -Amy
On-Page Optimization | | MeghanPrudencio0