Proper way to 404 a page on an Ecommerce Website
-
Hello. I am working on a website that has over 15000 products.
When one of these is no longer available - like it's discontinued or something - the page it's on 302s to a 404 page.
Example - www.greatdomain.com/awesome-widget
Awesome widget is no longer available
302s to
-www.greatdomain.com/404 page.
For the most part, these are not worthy of 301s because of lack of page rank/suitable LPs, but is this the correct way to handle them for search engines? I've seen varying opinions.
Thanks!
-
Hi Nakul,
I appreciate your willingness to help! We actually resolved the issue with help from our developer - standard 404 page - both to viewer and bots - but we've implemented a routine to regularly search for viable redirects to eliminate as many as possible.
On a related note - pretty good post on SEOmoz blog today about this very topic - coincidence?!
-
PM me your website URL with example 404/302 of the discontinued products.
-
Hi Nakul,
These products would be gone forever - like a discontinued item.
The 302 to 404 is my main concern - I agree with each of you that from a UEx perspective redirecting to relevant category pages is ideal.
Is this a standard way of setting this up on a large website (I didn't do it and it seems strange to me). Is there a better way (strictly from the SE perspective?).
Thanks.
-
Agree with Sean. If you were a user and searched for 'Stainless Steel Cookware Set with 4 Saucepans' and that product no longer became available, would you rather land on a 404 page or a 'Cookware Set' or 'Stainless Steel Cookware' type category page?
-
If these product goes away, do you expect them to go away forever or they may come back when they are in stock ? Are these "out of stock" scenarios or is it a gone forever scenario ?
If they are gone forever, a 301 to a category page make sense from usability perspective. If I am a blogger and I blogged about a product of yours, linking to it...I and all my users would prefer/expect the link to be working. If it's not available, out of stock message or if it's gone forever, a 301 to a category page or a plain 404 is better. Why do you have a 302 / Temporary redirect to a 404 page ? Are these really temporarily gone products or permanently gone ?
-
I am not saying this strictly from a link juice but also from a user experience. I would much rather hit another page than hit a 404 with an image.
-
Thanks Sean. I'm not too concerned about 301s in this case - any products that are worth the link would show up in webmaster tools - and search engines expect a certain number of 404s returned. I'm just wondering if this is the correct way to report the 404 error to the engines - with a 302 onto a 404 page? Temporary redirects have me scared. Thanks.
-
Depending how customizable your platform is, you could if discontinued, 301 to next level page in the breadcrumbs. Which would be a category/sub category page
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
-
Best way to deal with over 1000 pages of duplicate content?
Hi Using the moz tools i have over a 1000 pages of duplicate content. Which is a bit of an issue! 95% of the issues arise from our news and news archive as its been going for sometime now. We upload around 5 full articles a day. The articles have a standalone page but can only be reached by a master archive. The master archive sits in a top level section of the site and shows snippets of the articles, which if a user clicks on them takes them to the full page article. When a news article is added the snippets moves onto the next page, and move through the page as new articles are added. The problem is that the stand alone articles can only be reached via the snippet on the master page and Google is stating this is duplicate content as the snippet is a duplicate of the article. What is the best way to solve this issue? From what i have read using a 'Meta NoIndex' seems to be the answer (not that i know what that is). from what i have read you can only use a canonical tag on a page by page basis so that going to take to long. Thanks Ben
Technical SEO | | benjmoz0 -
I have a mobile version and a standard version of my website. I'd like to show users some pages on the non-mobile site but keep googlebot mobile out. Is that ok?
On the mobile version not all the content of the normal site is available to the users. Since we didn't want googlebot mobile to index the non-mobile site, all the non-existent pages were returned with a 404 error. But now we'd like to show the mobile users these pages and send them to the normal site. If we allow the users to see these pages, is it ok to block googlebot mobile so these non-mobile pages are not indexed by googlebot mobile or will that create some issues for google?
Technical SEO | | bgs0 -
404 error due to a page which requires a login
what do I do with 404 errors reported in webmaster tools that are actually URLs where users are clicking a link that requires them to log in (so they get sent to a login page). what's the best practice in these cases? Thanks in advance!
Technical SEO | | joshuakrafchin0 -
Website Redirects
Background information: We have a website (devicelock.com) which is currently our corporate website. The company use to operate under (ntutility.com) which is now being redirected to devicelock.com via a DNS Forward - 302 Redirect. The IT admin (a founder of the company) is reluctant to change it to a 301. The current flow is ntutility.com redirects to protect-me.com then redirects again to devicelock.com. When i search up Devicelock on google, it shows up as ntutlity.com. There is no devicelock.com homepage on google search. Question: Are there any negative implications about this? Is this hurting our SEO in any way? When i do link building, will this have any negative affects? Will my links for devicelock be attributed to devicelock.com?
Technical SEO | | Devicelock0 -
What is the best way to find stranded pages?
I have a client that has a site that has had a number of people in charge of it. All of these people have very different opinions about what should be on the site itself. When I look at their website on the server I see pages that do not have any obvious navigation to them. What is the best way to find out the internal linking structure of a site and see if these pages truly are stranded?
Technical SEO | | anjonr0 -
Sitemap for dynamic website with over 10,000 pages
If I have a website with thousands of products, is it a good idea to create a sitemap for this website for the search engines where you show maybe 250 products on a page so it makes it easy for the search engine to find the part and also puts that part closer to the home page? Seems like google likes pages that are the closest to the home page (less clicks the better)
Technical SEO | | roundbrix0 -
Switching ecommerce CMS's - Best Way to write URL 301's and sub pages?
Hey guys, What a headache i've been going through the last few days trying to make sure my upcoming move is near-perfect. Right now all my urls are written like this /page-name (all lowercase, exact, no forward slash at end). In the new CMS they will be written like this: /Page-Name/ (with the forward slash at the end). When I generate an XML sitemap in the new ecomm CMS internally it lists the category pages with a forward slash at the end, just like they show up through out the CMS. This seems sloppy to me, but I have no control over it. Is this OK for SEO? I'm worried my PR 4, well built ecommerce website is going to lose value to small (but potentially large) errors like this. If this is indeed not good practice, is there a resource about not using the forward slash at the end of URLS in sitemaps i can present to the community at the platform? They are usually real quick to make fixes if something is not up to standards. Thanks in advance, -First Time Ecommerce Platform Transition Guy
Technical SEO | | Hyrule0