301 and Canonical - is using both counterproductive
-
A site lost a great deal of traffic in July, which appears to be from an algorithmic penalty, and hasn't recovered yet. It appears several updates were made to their system just before the drop in organic results. One of the issues noticed was that both uppercase and lowercase urls existed. Example urls are:
www.domain.com/product123
www.domain.com/Product123To clean this up, a 301 redirect was implemented a few months ago.
Another issue found was that many product related urls had a parameter added to the url for a tracking purpose. To clean this up, the tracking parameters were removed from the system and a canonical tag was implemented as these pages were also found in Google's index. The tag forced a page such as www.domain.com/product123?ref=topnav to be picked up as www.domain.com/product123.
So now, there is a 301 to address the upper and lowercase urls and a canonical tag to address the parameters from creating more unnecessary urls.
A few questions here:
-Is this redunant and can cause confusion to the serps to have both a canonical and 301 redirect on the same page?
-Both the 301 and canonical tag were implemented several months ago, yet Google's index is still showing them. Do these have to be manually removed with GWT individually since they are not in a subfolder or directory?
Looking forward to your opinions.
-
I think the point is,
mydomain.com/Page.html 301's to mydomain.com/page.html
but mydomain.com/page.html?x=y canonicals to mydomain.com/page.htmlso in this case both have a function.
but having said that I would fix the links to mydomain.com/Page.html as using a 301 leaks link juice, they are good when correcting a external link, but an internal link should be fixed by fixing the link itself.
-
That's correct. A 301 was placed to point to the lowercase urls, and then a canonical tag on the same page to try to clean out the parameters in the URL.
-
Just because I'm not sure if I'm reading this correctly or because its Friday & my brain is misfiring... Did you place a canonical on www.domain.com/Product123 pointing at the lowercase AND then 301 redirect it to the lowercase? Because if that's the case then it would really only pick up the 301.
-
Mike,
To answer your question above, the product url without parameters (i.e. www.domain.com/product123) should be what the SERPs pick up. The parameters that were there for a short period are no longer there and haven't been. I've also heard that in time, the crawlers will notice it and index correctly. But, 3 months after canonical tags were implemented and still no updates from what the index had as they are still being shown.
Also, a tool was used to show what crawling the site would look like to a spider. The uppercase urls (i.e. www.domain.com/Product123) have the 301 redirect being picked up. However, the canonical tag didn't seem to be picked up according to the tool. On other pages of the site where the canonical tag was implemented, without the 301, the tool shows detection which is what led me to this post.
-
They can be used together in this fashion without any problems. The 301 is redirecting duplicate content that does not need to physically exist and is better served by another page. The Canonical "redirects" the bots from a page that needs to exist for a specific purpose (tracking tag, model id, product id, etc.) but which is a duplicate or subset of another page that should be given the proper ranking signals in place of the page with the variable.
Edit: As to the second question, don't worry. They will naturally change over to the correct page(s) over time as long as Google chooses to follow the canonical tag and consider the page it is pointing to as proper/relevant. In the meantime, the 301s will bring people to the proper place and the canonicals should be passing signals/equity to the proper pages.
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
-
Canonical and Alternate Advice
At the moment for most of our sites, we have both a desktop and mobile version of our sites. They both show the same content and use the same URL structure as each other. The server determines whether if you're visiting from either device and displays the relevant version of the site. We are in a predicament of how to properly use the canonical and alternate rel tags. Currently we have a canonical on mobile and alternate on desktop, both of which have the same URL because both mobile and desktop use the same as explained in the first paragraph. Would the way of us doing it at the moment be correct?
Intermediate & Advanced SEO | | JH_OffLimits3 -
Canonical URL availability
Hi We have a website selling cellphones. They are available in different colors and with various data capacity, which slightly changes the URL. For instance: Black iphone, 16GB: www.site.com/iphone(black,16,000000000010204783).html White iphone, 16GB: www.site.com/iphone(white,16,000000000010204783).html White iphone, 24GB: www.site.com/iphone(white,24,000000000010204783).html Now, the canonical URL indicates a standard URL: But this URL is never physically available. Instead, a user gets 301 redirected to one of the above URLs. Is this a problem? Does a URL have to be "physically" available if it is indicated as canonical?
Intermediate & Advanced SEO | | zeepartner0 -
Canonical tag - link juice to the frontpage
I only wants to be 100% sure about using the canonical tag.. I want to use it on pages that rankes together with the frontpage in Google, but i only want the frontpage to rank alone and to have the link juice from the other 2 sites direct-ed to the frontpage.. Hope you agre that its the correct way to doo so?? Wich one is correct: http://www.testtest.com/”> Or this http://www.testtest.com/”/>
Intermediate & Advanced SEO | | seopeter290 -
Language Detection redirect: 301 or 302?
We have a site offering a voip app in 4 languages. Users are currently 302 redirected from the root page to /language subpages, depending on their browser language. Discussions about the sense of this aside: Is it correct to use a 302 redirect here or should users be 301 redirected to their respective languages? I don't find any guideline on this whatsoever...
Intermediate & Advanced SEO | | zeepartner1 -
How to 301 redirect all URLs with /? in?
I want to redirect all URLs that have /? in it. Indexed in Google is a bunch of urls lik: mysite.com/?674764 mysite.com/?rtf8y78 I want all these URLs to be redirected to my home page. Any ideas?
Intermediate & Advanced SEO | | JohnPeters0 -
How canonical url harm our website???
Even though my website has no similar/copied content, i used rel=canonical for all my website pages. Is Google or yahoo make any harm to my SERP's?? EX: http://www.seomoz.org is my site, in that i used canonical as rel="<a class="attribute-value">canonical</a>" href="http://www.seomoz.org" to my home page like that similar to all pages, i created rel=canonical. Is search engine harm my website???
Intermediate & Advanced SEO | | MadhukarSV0 -
After the 301 redirect
Hi all, A quick question, after you have setup your 301 re-directs in .htaccess - is it necessary to keep your content in the original domains directory? My thinking is that requests do get as far as referencing the directory, thus it should be safe to delete all the files on the old domain? Thanx!
Intermediate & Advanced SEO | | gazza7770 -
Need some help with a tricky 301
I can't find anything online that deals with this issue. I have a page getting indexed by Google at mydomain.com/widgets and I don't know why. No links to it anywhere. The page it is closest to is mydomain.com/reviews/widgets and so I tried to set up a 301 to point one to the other. The problem is each individual widget review is at mydomain.com/widgets/reviews/products/widget-name and so when I redirect /widgets to mydomain.com/reviews/widgets it also redirects each individual product to mydomain.com/reviews/widgets/reviews/products/widget-name. Is there some way to just redirect /widgets without having it affect each product review? I cannot change URL structure either, nature of the site. Any ideas?
Intermediate & Advanced SEO | | DanDeceuster0