The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Technical SEO Issues
    4. Proper way to 404 a page on an Ecommerce Website

    Proper way to 404 a page on an Ecommerce Website

    Technical SEO Issues
    9 4 2.7k
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Blenny
      Blenny last edited by

      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

      • www. greatdomain.com/awesome-widget

      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!

      1 Reply Last reply Reply Quote 0
      • Sean_Dawes
        Sean_Dawes last edited by

        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

        Blenny 1 Reply Last reply Reply Quote 2
        • Blenny
          Blenny @Sean_Dawes last edited by

          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.

          Sean_Dawes 1 Reply Last reply Reply Quote 0
          • Sean_Dawes
            Sean_Dawes @Blenny last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • NakulGoyal
              NakulGoyal last edited by

              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 ?

              Blenny 1 Reply Last reply Reply Quote 0
              • bradkrussell
                bradkrussell last edited by

                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?

                1 Reply Last reply Reply Quote 1
                • Blenny
                  Blenny @NakulGoyal last edited by

                  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.

                  NakulGoyal Blenny 2 Replies Last reply Reply Quote 0
                  • NakulGoyal
                    NakulGoyal @Blenny last edited by

                    PM me your website URL with example 404/302 of the discontinued products.

                    1 Reply Last reply Reply Quote 1
                    • Blenny
                      Blenny @Blenny last edited by

                      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?!

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post
                      • Page Rank Being Split Between www.website.com and http://website.com
                        DmitriiK
                        DmitriiK
                        0
                        2
                        25

                      • What should I do with all these 404 pages?
                        linklander
                        linklander
                        0
                        5
                        164

                      • Thousands of 404-pages, duplicate content pages, temporary redirect
                        posthumus
                        posthumus
                        0
                        4
                        262

                      • What is the best way to handle links that lead to a 404 page
                        JaneCopland
                        JaneCopland
                        0
                        6
                        86

                      • How do I fix issue regarding near duplicate pages on website associated to city OR local pages?
                        Dr-Pete
                        Dr-Pete
                        0
                        3
                        164

                      • My beta site (beta.website.com) has been inadvertently indexed. Its cached pages are taking traffic away from our real website (website.com). Should I just "NO INDEX" the entire beta site and if so, what's the best way to do this? Please advise.
                        Vuly
                        Vuly
                        0
                        5
                        1.6k

                      • Ecommerce website: Product page setup & SKU's
                        Keszi
                        Keszi
                        0
                        9
                        1.3k

                      • Duplicate Page Content and Title for product pages. Is there a way to fix it?
                        RyanKent
                        RyanKent
                        0
                        6
                        935

                      Get started with Moz Pro!

                      Unlock the power of advanced SEO tools and data-driven insights.

                      Start my free trial
                      Products
                      • Moz Pro
                      • Moz Local
                      • Moz API
                      • Moz Data
                      • STAT
                      • Product Updates
                      Moz Solutions
                      • SMB Solutions
                      • Agency Solutions
                      • Enterprise Solutions
                      • Digital Marketers
                      Free SEO Tools
                      • Domain Authority Checker
                      • Link Explorer
                      • Keyword Explorer
                      • Competitive Research
                      • Brand Authority Checker
                      • Local Citation Checker
                      • MozBar Extension
                      • MozCast
                      Resources
                      • Blog
                      • SEO Learning Center
                      • Help Hub
                      • Beginner's Guide to SEO
                      • How-to Guides
                      • Moz Academy
                      • API Docs
                      About Moz
                      • About
                      • Team
                      • Careers
                      • Contact
                      Why Moz
                      • Case Studies
                      • Testimonials
                      Get Involved
                      • Become an Affiliate
                      • MozCon
                      • Webinars
                      • Practical Marketer Series
                      • MozPod
                      Connect with us

                      Contact the Help team

                      Join our newsletter
                      Moz logo
                      © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                      • Accessibility
                      • Terms of Use
                      • Privacy