Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
Canonical for duplicate pages in ecommerce site and the product out of stock
-
I’m an SEO for an ecommerce site that sells shoes
I have duplicate pages for different colors of the same product (unique URL for each color),
Conventionally I have added canonical tags for each page, which direct to a specific product URL
My question is what happens when a product which the googlbot is direct to, is out of stock but is still listed in the canonical tag ?
-
If the canonical page disappears when it's out of stock, the user will get a 404 error when they try to access that URL. You'll need to canonicalize duplicates to a generic product or category page that won't disappear when the product is out of stock. Furthermore, if a product goes out of stock and you'll have more in stock later, it's best (for SEO purposes) to leave the page with an "out of stock" notice rather than remove it completely from the website.
-
I have a similar query. However in my case if the out of stock item is discontinued the page is removed but available product variations may remain.
What happens in the case where my canonical is out of stock and the page removed but other product variations are available?
Thanks,
-
To my knowledge, the behavior of the googlebot is not influenced by whether or not the product is out of stock. Is the page still accessible when the product is out of stock, or does it not display at all?
If the product page remains with an "out of stock" message, that's what users from search will see. If the product page becomes inaccessible when it goes out of stock temporarily, users from search will likely see a 404 page.
You may want to canonicalize to a higher level category page rather than one of the product variation pages. That way, it won't be an issue if one product variation goes out of stock.
May I ask which ecommerce software you are using?
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
-
Duplicate Page Titles For Paginated Topics In Blog
Hello, I've just run a site audit and it has come up with a duplicate title tag issue for the topics section of our blog. For example it is flagging that the following have the same page title. https://blog.companyname.com/topic/topic-name https://blog.companyname.com/topic/topic-name/page/2 How significant is this as an SEO issue and what are the ways we can go about fixing this? I look forward to any suggestions and guidance that can be provided. Thanks, John
Technical SEO | | SEOCT1 -
Quick Fix to "Duplicate page without canonical tag"?
When we pull up Google Search Console, in the Index Coverage section, under the category of Excluded, there is a sub-category called ‘Duplicate page without canonical tag’. The majority of the 665 pages in that section are from a test environment. If we were to include in the robots.txt file, a wildcard to cover every URL that started with the particular root URL ("www.domain.com/host/"), could we eliminate the majority of these errors? That solution is not one of the 5 or 6 recommended solutions that the Google Search Console Help section text suggests. It seems like a simple effective solution. Are we missing something?
Technical SEO | | CREW-MARKETING1 -
Duplicate Content on a Page Due to Responsive Version
What are the implications if a web designer codes the content of the site twice into the page in order to make the site responsive? I can't add the url I'm afraid but the H1 and the content appear twice in the code in order to produce both a responsive version and a desktop version. This is a Wordpress site. Is Google clever enough to distinguish between the 2 versions and treat them individually? Or will Google really think that the content has been repeated on the same page?
Technical SEO | | Wagada0 -
Product Pages Outranking Category Pages
Hi, We are noticing an issue where some product pages are outranking our relevant category pages for certain keywords. For a made up example, a "heavy duty widgets" product page might rank for the keyword phrase Heavy Duty Widgets, instead of our Heavy Duty Widgets category page appearing in the SERPs. We've noticed this happening primarily in cases where the name of the product page contains an at least partial match for the desired keyword phrase we want the category page to rank for. However, we've also found isolated cases where the specified keyword points to a completely irrelevent pages instead of the relevant category page. Has anyone encountered a similar issue before, or have any ideas as to what may cause this to happen? Let me know if more clarification of the question is needed. Thanks!
Technical SEO | | ShawnHerrick0 -
Volusion eCommerce Site 302s and Canonicalization
There have been a couple other threads concerning this topic so I apologize, but I have an iteration on the main question that has not been answered. Crawl Diagnostics is giving me a bunch of 302 temporary redirect notices. For example, here is a page title URL:
Technical SEO | | anneoaks
http://store.in-situ.com/Rugged-Conductivity-Meter-p/0073380.htm and here is the redirect:
http://store.in-situ.com/Rugged-Conductivity-Meter-p/tape-clt-meter.htm?1=1&CartID=0 The first link is actually a child product of:
http://store.in-situ.com//Rugged-Conductivity-Meter-p/tape-clt-meter.htm Volusion tech support told me they believe most of them are meta redirects but could not find any documentation on them. All the other threads concerning this have said to either change the 302s to 301s, which I don't think is possible, or to add a nofollow tag. My question is do I need to do anything if both those pages are canonical to the parent product? Should I be passing on the linkjuice if neither of those pages are of high value?0 -
Ecommerce website: Product page setup & SKU's
I manage an E-commerce website and we are looking to make some changes to our product pages to try and optimise them for search purposes and to try and improve the customer buying experience. This is where my head starts to hurt! Now, let's say I am selling a T shirt that comes in 4 sizes and 6 different colours. At the moment my website would have 24 products, each with pretty much the same content (maybe differing references to the colour & size). My idea is to change this and have 1 main product page for the T-shirt, but to have 24 product SKU's/variations that exist to give the exact product details. Some different ways I have been considering to do this: a) have drop-down fields on the product page that ask the customer to select their Tshirt size and colour. The image & price then changes on the page. b) All product 24 product SKUs sre listed under the main product with the 'Add to Cart' open next to each one. Each one would be clickable so a page it its own right. Would I need to set up a canonical links for each SKU that point to the top level product page? I'm obviously looking to minimise duplicate content but Im not exactly sure on how to set this up - its a big decision so I need to be 100% clear before signing off on anything. . Any other tips on how to do this or examples of good e-commerce websites that use product SKus well? Kind regards Tom
Technical SEO | | DHS_SH0 -
Same Video on Multiple Pages and Sites... Duplicate Issues?
We're rolling out quite a bit of pro video and hosting on a 3-party platform/player (likely BrightCove) that also allows us to have the URL reside on our domain. Here is a scenario for a particular video asset: A. It's on a product page that the video is relevant for. B. We have an entry on our blog with the video C. We have a separate section of our site "Video Library" that provides a centralized view of all videos. It's there too. D. We eventually give the video to other sites (bloggers, industry educational sites etc) for outreach and link-building. A through C on our domain are all for user experience as every page is very relevant, but are there any duplicate video issues here? We would likely only have the transcript on the product page (though we're open to suggestions). Any related feedback would be appreciated. We want to make this scalable and done properly from the beginning (will be rolling out 1000+ videos in 2010)
Technical SEO | | SEOPA0 -
Should there be a canonical tag on my 404 error page?
In my crawl diagnostics, I notice some 4xx client errors. They are appearing for pages that no longer exist, so I'm not sure what the problem is. Shouldn't they just be dealt as 404's? Anyway, on closer inspection I noticed that my 404 error page contains a canonical tag which points to the missing page. Could this be the issue? Is it a good idea to remove the canonical tag from this error page? Thanks.
Technical SEO | | Leighm0