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. Intermediate & Advanced SEO
    4. Soft 404

    Soft 404

    Intermediate & Advanced SEO
    10 3 1.5k
    • 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.
    • corwin
      corwin last edited by

      Hey forum,

      My site is a Price Comparison site. Lately I've been getting some "Soft 404" errors with the Webmaster tool. I'll try to explain the steps causing it:

      1. There's a valid link to a product

      2. At some point the product is temporary out of stock or unavailable.

      3. Google crawls this product page, getting a valid page with a message explaining this product is unavailable at this time.

      4. Google see this page for few different products and (I assume) figures it's a none existing page and so it's a soft 404.

      The possible solutions I see are:

      1. Return real 404, I'm not a fan of this solution, because these links will very likely be valid again when the product is back in stock.

      2. Live with some "soft 404" errors in the webmaster tool.

      3. Find another way to explain to Google that it's not a real 404. This sounds great but I'm not sure how this can be done.

      Any thoughts which would be the best method? Or maybe another solution I haven't thought of?

      Thank you.

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

        Can't you show message "Product is out of stock for now" message. And show related product below with "You might be interested in below product"  message.

        corwin 1 Reply Last reply Reply Quote 1
        • corwin
          corwin @kaushalshah last edited by

          Thanks for the reply Kaushal. We actually don't have a system currently that lists similar products and considering we have over 20 million products, it's also not a minor thing to implement. Anyway I'm not sure I like the way other sites try to push products that aren't really what you were looking for.

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

            I'm not an expert in this area, but it sounds like a coding issue.  Somehow when Google looks at the page it triggers that error.  If I understand correctly, when you are out of stock, the system automatically generates a message that says it is out of stock.  What does that page look like?  Maybe if you post an example of that webpage it could be helpful.

            I'm thinking you will need to modify that out of stock template so it includes other information.  Whether it be as Kaushal recommended, or even just plain text saying anything.  Maybe "Sorry we are currently out of stock, please check back later or contact us for an ETA".  Having other information on the page should show to Google it is still an active page with content on it.  One way or another, the problem sounds like it's with that out of stock template the database is using.

            Maybe I'm way off, but if you link to an example page, that would probably help.

            corwin 1 Reply Last reply Reply Quote 0
            • corwin
              corwin @Twinbytes last edited by

              Thanks for the reply Daniel. Here's an example link: link

              Basically anything with a wrong number will return this page. I know it's not a great page for this purpose, just a regular product page with 0 items and a message. It's just rare enough that we didn't spend too much on it. How rare? According to the Webmaster tool, out of the last 296k pages crawled, 70 were found.

              Basically at this point, I have no information on this item, all I know is that someone got here so it's probably a valid product code, which is true unless someone just edited the URL manually.

              Twinbytes corwin 5 Replies Last reply Reply Quote 0
              • Twinbytes
                Twinbytes @corwin last edited by

                OK, from what I can see in your example link and what you just confirmed in your last note, the problem is in the design of the database search.

                If a product is out of stock, instead of just saying that particular product is out of stock, it comes back with a 0 search results returned.  It's basically searching for something and takes you to a page saying that doesn't exist.  That would totally explain why you are getting soft 404 errors because you are basically searching for a page that doesn't exist.

                You need your web developer to fix this so it takes you to a proper page with some sort of information rather than what is currently a nice looking soft 404 page.

                1 Reply Last reply Reply Quote 0
                • corwin
                  corwin @corwin last edited by

                  Thanks again Daniel.

                  I'm a web developer too 🙂

                  What would a "proper page" be though? Keep in mind at this point I don't know anything about this product. Each general "out of stock" page will be the same for each product making it a "soft 404" probably, unless I make it a real 404, which will solve the "soft 404" but will create a new problem, 404 pages for some previously valid URLs.

                  Both are not good, I'm aware of it, however, we are talking less than 0.05% of the site's pages.

                  1 Reply Last reply Reply Quote 0
                  • Twinbytes
                    Twinbytes @corwin last edited by

                    This is where it goes a bit over my head as a programer, which I'm not, but we would need to dive into the code a bit.  I'm not sure I can be of help with details, but from what I'm understanding is as follows.

                    I understand that if a product is in stock, it shows the page, if the product is not in stock, rather than that pages information changing to say it is no longer in stock, you get redirected to or the page changes to a new page that simply says it can't find what you are looking for.

                    If I'm right, you need to change the code so when a product is not found or no longer in stock, instead of pointing to this dead page returning zero, or instead of just having that page deleted (in turn being 404), have the page change content or redirect to another page saying it is no longer in stock.

                    I'm not sure I'm clear here, but what I'm saying is, have it direct to a page you created yourself that says you are temporarily out of stock, rather than the program automatically generating a 404 page.

                    I hope this helps send you in the right direction, otherwise I'm no programer so can't give you exact instructions, but maybe someone who knows e-commerce programming can help here.

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

                      Without getting too technical, currently the user isn't really being redirected at all, because it's a dynamic page with the results, which can be any number, in this case, 0.

                      I will take your advice and indeed create a custom "out of stock" page that will be returned for all these cases. Maybe it will be clearer to Google. Obviously these won't rank well, but I'm fine with it, as long as I don't get ranking penalty for the entire site, for none existing pages. Under the circumstances I guess this is the best option.

                      Thank you very Daniel, you've been very helpful.

                      1 Reply Last reply Reply Quote 0
                      • Twinbytes
                        Twinbytes @corwin last edited by

                        You're welcome.  I hope it all works out as you expect.

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post
                        • How to Handle a Soft 404 error to an admin page in WordPress
                          aj613
                          aj613
                          0
                          3
                          871

                        • Soft 404 error for a big, longstanding 301-redirected page
                          GlobeRunner
                          GlobeRunner
                          0
                          2
                          337

                        • 404 errors
                          DennisSeymour
                          DennisSeymour
                          0
                          5
                          136

                        • 404 Errors
                          CraigBradford
                          CraigBradford
                          0
                          6
                          140

                        • How to fix Invalid Product Page registering as Soft 404
                          ntsupply
                          ntsupply
                          0
                          3
                          133

                        • Soft 404's from pages blocked by robots.txt -- cause for concern?
                          CleverPhD
                          CleverPhD
                          1
                          6
                          2.0k

                        • 301 to 404
                          KaneJamison
                          KaneJamison
                          1
                          4
                          1.5k

                        • External 404 vs Internal 404
                          deltasystems
                          deltasystems
                          0
                          2
                          764

                        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