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. What should be use 301 or 302 redirection for 404 pages

    What should be use 301 or 302 redirection for 404 pages

    Technical SEO Issues
    3 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.
    • koamit
      koamit last edited by

      Please suggest which redirection we should use for 404 pages- 301 or 302. If you can elaborate it with reason then it will be highly appreciated.

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

        It is situational

        301 = Permanent Redirect - and better for SEO purposes as this tells the search engine that the redirected page has become the new page

        302 = Temporary - Search engines of course follow the 302, I even think it will show the new page in results, but if it is a permanent, and you are worried about this - then use a 301.

        Tough to give any kind of reason for use other than that above without some situational knowledge 🙂

        But to a user, it is does not matter wheter it is a 301 or 302, but to bots the above differences apply.

        And as a 404 I would assume it is a 301 - but not sure, due to I do not know the reason for the 404

        For reference

        http://www.seomoz.org/learn-seo/redirection

        1 Reply Last reply Reply Quote 1
        • My-Favourite-Holiday-Cottages
          My-Favourite-Holiday-Cottages last edited by

          If you have moved the content elsewhere, 301 Permanent Redirect should be used, as it passes all(well most) the old pages link value e.t.c. to the new page

          If it's temporarly elsewhere, 302

          If it's gone for good and not coming back and theres nowhere apropriate to send people, consider 410 gone.

          If you mean what status code should your missing pages/bad urls return, that should be 404, not 3XX. Redirecting the user to a 'error' page with a 301 that then returns 200 ok is a great way to have a lot of problems and little way of spotting them.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • 404 Errors for Form Generated Pages - No index, no follow or 301 redirect
            Ric_McHale
            Ric_McHale
            0
            5
            549

          • Pages with 301 redirects showing as 200 when crawled using RogerBot
            matthew.dimmett
            matthew.dimmett
            0
            3
            211

          • How to redirect 302 status to 301 status code using wordpress
            ThompsonPaul
            ThompsonPaul
            0
            4
            1.3k

          • 301 redirect all 404 pages
            alsvik
            alsvik
            0
            8
            3.6k

          • 301 redirects reverting to 302 redirects
            Devanur-Rafi
            Devanur-Rafi
            0
            6
            532

          • Delete 301 redirected pages from server after redirect is in place?
            RuthBurrReedy
            RuthBurrReedy
            0
            5
            4.0k

          • 301 Redirect Domain or 301 Redirect Domain + Interior Pages
            Room214
            Room214
            0
            7
            1.1k

          • 301 redirecting some pages directly, and the rest to a single page
            danrawk
            danrawk
            0
            3
            703

          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