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
-
After 301 redirection non-English keyword points to English language pages
We had multilingual website on .co.uk domain and somewhere in April, we've done 301 redirection from domain1.co.uk pages which were in Polish language to domain2.com/pl domain and now for some Polish keywords Google SERP sometimes shows English pages (.com) and sometimes polish pages (.com/pl). Previously co.uk/en had English content and that got redirected to .com. What could be the reason? Thank you for all responses.
On-Page Optimization | | Optimal_Strategies0 -
Canonical Homepage Multi-language Website
Hello, Our development department is building a multi-language webshop.
On-Page Optimization | | X-com_Maasbree
Due to the multi-language module that they've used, we have example.com and example.com/nl having exactly the same content. In order to avoid duplicate content, those pages have the following canonicals:
1. example.com -> Canonical to example.com/nl
2. example.com/nl -> Canonical to example.com/nl Do I loose SEO-value by not canonicalising directly to the root-domain homepage (example.com)?0 -
ASP Canonical and Internal Linking
Hello - I'm working with a large ASP website and trying to troubleshoot issues I believe might be related to how the canonical element is used. On page - all internal links, including navigation links, use the following format (uppercase) - website.com**/F**older/Folder/Product . So, any page navigated to will always display the uppercase version of the URL. And, all of these pages have the canonical tag pointing to the lowercase version of the URL. The pages included in Google's index are all lowercase versions of the URL like this - website.com**/f**older/folder/product . My concern is that a lot of internal authority flow is being impacted/negated because all internal links point to the uppercase versions of URLs and all those pages reference the lowercase version URL in the canonical reference. Is this a valid concern?
On-Page Optimization | | LA_Steve0 -
301 Redirect to external site
Hi guys, We have a client who is getting their website redesigned through us. They are discontinuing couple of their services which will not get featured in the new site. They are fairly well ranked for these services and my client wishes to 301 redirect these pages to an external site owned by his friend so that they benefit out of the ranking. The question is: Will my client's website's general ranking get affected due to 301 redirecting to an external site? The external site is not spammy or red-flagged by Google (at the moment, at least). Thanks in advance!
On-Page Optimization | | RameshNair
Ramesh Nair0 -
Silly question about noindex and canonical
Hi, This is probably going to sound a bit stupid, but I nevertheless want to check. We have a site that's going to have identical pages (really not my choice) for a sales reason. The two examples would be example.com/profile-name and example.com/location/profile-name Users using the onsite navigation will always end up in the latter example naturally as they have to select a location before viewing content (plus having the location in the url is nice as there are multiple profiles across different locations that have the same name). However, it's easier to sell our services when we can offer just example.com/profile-name to users for their own marketing reasons. I'd like to make the example.com/profile-name noindex follow, and have just the example.com/location/profile-name indexed, but not sure if it would be better to implement canonical tags instead? Can anyone see any potential pitfalls of using either method or does it not really make a difference (which is what I suspect, but I'd rather look stupid than get this wrong)? Thanks!
On-Page Optimization | | LeahHutcheon0 -
Can Sitemap Be Used to Manage Canonical URLs?
We have a duplicate content challenge that likely has contributed to us loosing SERPs especially for generic keywords such as "audiobook," "audiobooks," "audio book," and "audio books." Our duplicate content is on two levels. 1. The first level is at our web store, www.audiobooksonline.com. Audiobooks are sometimes published in abridged, unabridged, on compact discs, on MP3 CD by the same publisher. In this case we use the publisher description of the story for each "flavor" = duplicate content. Can we use our sitemap to identify only one "flavor" so that a spider doesn't index the others? 2. The second level is that most online merchants of the same publisher's audio book use the same description of the story = lots of duplicate content on the Web. In that we have 11,000+ audio book titles offered at our Web store, I expect Google sees us as having lots of duplicated (on the Web) content and devalues our site. Some of our competitors who rank very high for our generic keywords use the same publisher's description. Any suggestions on how we could make our individual audio book title pages unique will be greatly appreciated.
On-Page Optimization | | lbohen0 -
Google found bad links delete them or 301 redirect?
we went into our google account and saw about 70 bad links that they found on our site. what's the best thing to do, seo-wise: should we go into the pages that have the bad links and delete them from the html code, or re-direct them in our htaccess script?
On-Page Optimization | | DerekM880 -
Canonical issue
Hi, Very new to seomoz but very impressed. First report has shown me that I have duplicate pages. Some seem to be duplicate titles and some were duplicates of pages i found on the server. however the main problem is it seems to be picking up pages with www and without it which I have a vague idea is a canonical issue. so it throws up pages like this: http://web-writer-articles.co.uk and http://www.web-writer-articles.co.uk I want it just to pick up pages with www Firstly should it be picking up both and if not how can I make amendments so that it is only picking up pages which include www ? thank you for your help, louandel15
On-Page Optimization | | louandel150