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
-
Malware, Google Ranking and cleanup
Hi My website was infected with the malware. We have cleaned it and during the process we had to delete the cache. Now website is showing like this on the google. How can i fix this? 3e8e9111-eac7-4238-a691-9678542eb4cf-image.png Secondly, As i have lost all the ranking, how can i get back quickly? Please help Thanks in advance
On-Page Optimization | | fslpso0 -
Dynamic URL Parameters + Woocommerce create 404 errors
Hi Guys,
On-Page Optimization | | jeeyer
Our latest Moz crawl shows a lot of 404-errors for pages that create dynamical links for users? (I guess it are dynamic links, not sure). Situation: On a page which shows products from brand X users can use the pagination icons on the bottom, or click on: View: / 24/48/All.
When a user clicks 48 the end of the link will be /?show_products=48
I think there were some pages that could show 48 products but do not exist anymore (because products are sold out for example), and that's why they show 404's and Moz reports them. How do I deal with these 404-errors? I can't set a 301-redirect because it depends on how many products are shown (it changes every time).
Should I just ignore these kind of 404-errors? Or what is the best way to handle this situation?0 -
Indexing pages after de-indexing them
I have been de-indexing duplicate content on my website which has almost 40 pages contain duplicate content from other websites. later on the website ranking drop down. so should i re index them or just wait ?
On-Page Optimization | | MohammadSabbagh0 -
Google cache tool help
This link is for the Ebay Google cache - http://webcache.googleusercontent.com/search?q=cache:www.ebay.com&strip=1 I wanted to do the same for my homepage so I switched out the urls and it worked. When I try to get a different link in there such as mysite.com/category it wont work. I know my pages are indexed. Any ideas why it wont work for other pages?
On-Page Optimization | | EcommerceSite0 -
URL Length
I know a URL should "technically" shorter than 75 characters. Does that include the http://www.domainname.com ? Thank you 🙂
On-Page Optimization | | Libra0130 -
Indexation problem
Hello, I have an online store specialized in offers and discounts (http://www.offertazo.com/) with an indexation problem. The products are not updated correctly. I think the problem is that when I publish a new offer, it doesn´t appear on the top of my page´s SERP. I would appreciate any suggestions. Best regwards.
On-Page Optimization | | ofuente0 -
Temp redirects of homepage URLs
Working on a site for a client and the CMS provider has all variants of their domain (.co.uk & .com and / and http:// etc) temp redirecting to the /default.aspx homepage. I know in theory that this means no Google Juice is being passed to the final location page, does this mean that all backlinks that point to their domain are not actually passing Juice onto the homepage? Thanks
On-Page Optimization | | Switch_Digital0 -
Streaming Google Places Reviews
Google no longer lets users pull an iframe of places reviews. I can't find a plugin for wordpress that will do this either. Any suggestions on how to show Google places reviews on your website? Or... should we blow it off and just go with yelp / City Search reviews?
On-Page Optimization | | John_Ellis0