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.
-
No prob, let me know how things turn out (professional curiosity)
Like yourself my main project is dated in areas and a workaround is more cost effective than a rebuild, always interesting to see how people get around issues.
GL!
-
The 123456 url is only used in once place (or on banners in various places) any time this is in a category it is using the canonical url, once stock is loaded it only takes an hour for this to pull through. So the mass of links to this is the canonical url (however it usually has some form of tracking attached to it)
It's a very large and dated website, so we've got to try and get workarounds until development get round to sorting this kind of thing.
The mass of urls are showing as the canonicals, we've just got a few (hundreds) that aren't playing ball.
Really appreciate your help.
-
Sorry just want to check i understand this,
The product is originally created as domain.com/123456.html and is utilised at this url for a period of time.
You get the canonical url of domain.com/product-title.html later the day the product goes live.
You then create the canonical url and insert the canonical tags at a later time?
If all these are correct then it could explain why your having issues.
Google will crawl and index 123456.html pretty quickly, if this is the base url the product is created at you will most likely find that the links off your category pages use this url and any initial links use this url, this is bad for what you are trying to achieve.
When you then change to the canonical you create a situation where you have 2 copies of the page. 1 with loads of links pointing to it, especially internally, and another with no links. But your trying to tell google that the one with no links is the main version. I would bet this is why it is indexing both.
Even if you change all of the links and add the correct canonical tag it can take time for google to change, even then it can choose to ignore it (it can be frustrating).
Ideally you want to create the canonical URL first or at the same time as the 123456.html url and instantly add all the canonical tags, this way that all default links that a created internally point to it, and the first time it gets crawled it is already pointing to the canonical url.
In your current timetable, I would say redirects would be more suitable than canonical for both the order you release them and the general use.
About your plan,
If your timings are correct, then sure, that doesn't sound like too much of a time commitment and i think the benefit would be worth it. What I would expect to see within the month is the de-indexing of all the 123456.html versions
**Just remember, check all your canonicals actually need a 301 before doing them on bulk. You may have places on your site that you have canonicals because both versions of a page are needed, don't redirect these in your haste
-
Thank you for your response ATP.
I've done numerous checks and we're following all of the best practices, the only thing I can think of is that this url is the first that's seen (we only release stock on a time due to the nature of the business, we then only get the canonical on that day) so any scheduled work uses the part code, which we then at a later date manually change to the canonical url.
We are always trying to get these links changed to the correct version, however as we have a large site (570k+ pages) crawling for these is always an issue.
We can quite comfortably get a list of the canonicals thanks to screaming frog and being able to export our product codes (which are these six digit numbers). So you think it would be a viable solution to bulk upload our whole product catalog and on the /product/123456 urls redirecting to the /product/product-title and we should see a benefit from this? (Would take about an hours work initially then just adding current urls being 5 minutes a day)
-
Hi Thomas,
Firstly, the canonical does the same job as the 301 (for all intensive purposes) without the physical redirect. So in theory only the canonical should be being indexed and all the link juice should be being passed.
The fact that both are indexed suggests that the canonical isn't behaving as intended
- I would check for common cannonical errors to begin with
- If this isn't the case, i would suggest that the 123456 version has too many links maybe internally and externally and that google is ignoring the canonical because it has too much authority.
An issue with using canonical like this is that people who use the search are not sent to the main canonical url. This gives people the opportunity to copy and link to the wrong version of the url, which isn't a practice you want.
A possible solution would be to find all backlinks and get them changed to the main canonical version internally and externally, this could be a lot of work.
The 301 redirect is better in my opinion because it achieves the following
- Customer always see a useful URL and the main canonical URL
- Because of this, links will only likely be built the the url you want
- Google will de-index the 123456 version because it becomes inaccessible
However, unless you can automate this procedure, it can take too much time to create all those 301's for every product.
Personally i use the following guidlines as i find it keeps things clean and tidy
301 any url that isn't domain.com/main-product-url.html
keep the canonical on domain.com/main-product-url.html so that any version created from filtering or unexpected cms pages dont create duplicate content.
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
-
Is it OK to 301 redirect 1000s of duplicate random URLs to homepag?
Hello, We found a critical error in our site internal link structure and the way Google indexes it. Website has 1000s of URLs that are basically 50% match to homepage. They all start the same example.com/category/random/random I can do a redirect match and 301 them to homepage. This way 1000s of bogus url are not indexed and no value given. Is it OK to redirect so many URLs to homepage? Platform is creating these URLs because of search query, where it adds all site content to one page. Currently this search page /category / has own canonical and all those duplicate content URLs have canonical to that /category /. To fix my plan is to a. Remove canonical from /category / that way all those duplicate URLs don't have it either. B. Redirect match all URLs that have /category / in them to homepage. (this is most important page where 50% of that content is and should be the main page). Is this plan ok?
On-Page Optimization | | advertisingcloud1 -
Rel=canonical vs noindex/follow - tabs with individual URLs
Hi everyone I've got a situation that I haven't seen in quite this way before. I would like some advice on whether I should be rel=canonicalzing of noindexing/following a range of pages on a clients website. I've just started working on a website that creates individual URLs for tabs within each page which has resulted in several URLs being created for each listing: Example URLs: hotel-downtown-calgary hotel-downtown-calgary/gallery?tab hotel-downtown-calgary?tab hotel-downtown-calgary/map?tab hotel-downtown-calgary/facilities?tab hotel-downtown-calgary/reviews?tab hotel-downtown-calgary/in-the-area?tab Google has indexed over 1500 pages with the "?tab" parameter (there are 4380 page indexed for the site in total), and also seems to be indexing some of these pages without the "?tab" parameter i.e. ("hotel-downtown-calgary/reviews" instead of "hotel-downtown-calgary/reviews?tab") so the amount of potential duplication could be more. These tabbed pages are getting minimal traffic from organic search, so I've got no issues with taking them out of the index - the question is how. There are the issues I see: Each tab has the same title as the other tabs for each location, so lots of title duplication. Each individual tab doesn't have much content (although the content each tab has is unique). I would usually expect the tabs to be distinguished by the parameters only, not have unique URLs - if that was the case we wouldn't have a duplication issue. So the question is: rel=canonical or noindex/follow? I can see benefits of both. Looking forward to your thoughts!
On-Page Optimization | | Digitator0 -
Rel canonical tag on a single page site?
I have a wordpress theme site which essentially is all in 1 page. Do I need to use rel-canonical tag? It would just loop?
On-Page Optimization | | graftene0 -
301 Problem
Hi Guys, Just have a small problem with a htaccess 301 redirect. I would like to 301: www.old-domain.com & old-domain.com to www.new-domain.com. The site is exactly the same with the same directory structure so i would also like all the subpages to work. Eg: www.old-domain.com/folder/page & old-domain.com/folder/page to www.new-domain.com/folder/page Many thanks
On-Page Optimization | | MSSTORAGE0 -
Canonical URL tags help I am not sure what this is
I am trying to get an A grade on my webpage and this is one of the critical steps canonical URL tags I cant find much information as to what this even is never mind fixing it. Thanks I am a total newbe at this any advice is appreciated
On-Page Optimization | | gemfirez0 -
Canonical URL Tag
Hi, I have two pages that are identical on my site: http://www.absolutepower.nl/creatine-monohydraat and http://www.absolutepower.nl/CREATINE/creatine-monohydraat Should I use the canonical URL tag in this case? Thanks, Jasper
On-Page Optimization | | Japking0 -
301 redirects / clean urls (2)
hello again! 1st i want to thank robert, istvan and everyone else for the great answers to my last question. i guess i should have been a bit more specific with the questionas i am still a bit unclear about a couple of things. i forgot to mention that we actually moved the site several months back and redirected all the "category" pages, but, i wasnt aware that the "product" pages were never redirecte! so my next questions are: at this point is it even worth redirecting those old product pages? if so, should we use the IP address as shown below or the domain as shown below ...i am guessing at the IP address. http://72.3.181.97/catalog/CanineCushionDogCouchBeds.aspx
On-Page Optimization | | k9byron
http://www.k9electronics.com/catalog/CanineCushionDogCouchBeds.aspx also, our old site was never deleted from the server. our ranking / sales dropped off by about 50% when the new site went live so im guessing this can be directly contributed to the products not being redirected / duplicate content from the 2 sites? im also guessing i need to find a new developer ..can i get a vote on that? 😉 <colgroup><col width="856"></colgroup>
| http://72.3.181.97/catalog/CanineCushionDogCouchBeds.aspx |0 -
Canonical home page
I have a site that shows duplicate page content for: www.autoserviceexpertsonline and www.autoserviceexpertsonline/index.html When looking at the files using the cms (intuit) file manager, I only see the /index.html version. I added the Caononical tag referencing/pointing to both the domain name only and then changed to .../index.html No matter how I code this, the seomoz On-Site SEO Grader still has a problem with it. Is this a bug with the Grading program or am I doing something wrong? Please help as I think this is causing me problems with Google and I'd like to get this right for future sites I will be working on. Thanks, Bill
On-Page Optimization | | Marvo0