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. Search Engine Trends
    4. Does it matter? 404 v.s. 302 > Page Not Found

    Does it matter? 404 v.s. 302 > Page Not Found

    Search Engine Trends
    5 3 637
    • 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.
    • rpaiva
      rpaiva last edited by

      Hey Mozers,

      What are your thoughts of this situation i'm stuck in all inputs welcome 🙂

      I am in the middle of this massive domain migration to a new server.  Also we are going to be having a very clean SEO friendly url structure.  While I was doing some parsing and cleaning up some old urls I stumbled upon a strange situation on my website.

      I have a bunch of "dead pages" and they are 302'd to a "page not found" probably a old mistake of one of the past developers.  (To clarify the HTTP Status code is not 404)

      Should I try to fight to get all these "dead pages" a 404 error code or could I just leave the temp redirect 302 > "page not found" ( even though I know for a fact theses pages are not going to turn on again)

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

        It sounds like they're 302'ing to a 200 instead of a 404 to a page that says, "page not found"... In that case, you should get them to be legitimate 404s or 410s.  A custom 404 page would be a nice touch as well to help clean up the navigation.

        By the time you migrate (via 301) you could point these to the most applicable section of your new site where they should have pointed on the old site and be pretty much done with your clean up.

        1 Reply Last reply Reply Quote 0
        • David-Kley
          David-Kley last edited by

          Depending upon how many you have (you said "a bunch"), there are multiple ways of fixing this.

          If you are using a CMS, you can install a universal 404 handler, which will either direct a 404 page to the top level menu item of that group, or to the home page. If using a asp or html, I'm sure a decent developer could code one up for you.

          If the dead pages are ranked (indexed) pages, I would make sure they forward to the new page that exists on your new server.

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

            Looks like my stystem is set up to 301 to a 404.  Which do you think Google with honor? (the 301 or the 404)

            Also wouldn't having a 301 to a 404 keep bots crawling our server because its a redirect instead of the server providing a 404 or 410

            RyanPurkey 1 Reply Last reply Reply Quote 0
            • RyanPurkey
              RyanPurkey @rpaiva last edited by

              Ya, that's a mess. Either 301 to a live page or let the 404 be delivered on its own.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Is it necessary to have unique H1's for pages in a pagination series (i.e. blog)?
                effectdigital
                effectdigital
                0
                7
                259

              • Where does Google finds "Soft 404" and "Not found" links?
                vtmoz
                vtmoz
                0
                5
                81

              • Are you seeing 404's from utililab.mysearchguardian.com?
                0
                1
                45

              • What's the correct format when you Disavow a single page? with or without www.?
                MattAntonino
                MattAntonino
                0
                3
                153

              • Setup WordPress with www in General -> Settings to get benefits of old links or does it matter?
                Tobiask-121573
                Tobiask-121573
                0
                2
                72

              • Member's Badge as Link Building to Homepage or Internal Pages?
                designquotes
                designquotes
                0
                3
                402

              • Google indexing my website's Search Results pages. Should I block this?
                irvingw
                irvingw
                0
                4
                4.9k

              • (Ireland & USA) Speilling 'Z' v's 'S'
                GlenBOB
                GlenBOB
                0
                5
                860

              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