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. Is it a problem to use a 301 redirect to a 404 error page, instead of serving directly a 404 page?

    Is it a problem to use a 301 redirect to a 404 error page, instead of serving directly a 404 page?

    Intermediate & Advanced SEO
    5 2 2.0k
    • 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.
    • lcourse
      lcourse last edited by

      We are building URLs dynamically with apache rewrite.
      When we detect that an URL is matching some valid patterns, we serve a script which then may detect that the combination of parameters in the URL does not exist. If this happens we produce a 301 redirect to another URL which serves a 404 error page,

      So my doubt is the following: Do I have to worry about not serving directly an 404, but redirecting (301) to a 404 page? Will this lead to the erroneous original URL staying longer in the google index than if I would serve directly a 404?

      Some context. It is a site with about 200.000 web pages and we have currently 90.000 404 errors reported in webmaster tools (even though only 600 detected last month).

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

        Hi,

        You should never redirect to a 404 page.

        Search Engines are going to see this as an error and may even think you are trying to manipulate users around your site.

        I would redirect the pages to a relevant page on your site.

        With regards to the huge number of errors now appearing, I need some more details to answer the question:

        • How many 404's would you expect there to be (give an estimate)?
        • How many 301 redirects do you think would have been implemented with the script?
        • Have you recently changed anything else with the HTTP Status Codes?

        SilverDoor

        lcourse 1 Reply Last reply Reply Quote 0
        • lcourse
          lcourse @SilverDoor last edited by

          thanks a lot SilverDoor.

          The huge number of errors, were caused by a problem with the internal site architecture several months ago which got thousdands of pages in the index that should not exist (and also have no other related relevanted pages). This architecture is fixed now. Still for some reason mobile crawler of webmaster tools is returning now suddenly lots of 404 for mobile view, which I suspect are coming from old 404 in google cache.

          SilverDoor 1 Reply Last reply Reply Quote 0
          • SilverDoor
            SilverDoor @lcourse last edited by

            I suspect you may be right.

            How long ago did they appear?

            Are they starting to go gradually down or up?

            lcourse 1 Reply Last reply Reply Quote 0
            • lcourse
              lcourse @SilverDoor last edited by

              in webmaster tools 404 are going gradually down for desktop and now suddenly going up for mobile for pages that are not linked to for months.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Soft 404 error for a big, longstanding 301-redirected page
                GlobeRunner
                GlobeRunner
                0
                2
                337

              • Pages that 301 redirect to a 404
                JarnoNijzing
                JarnoNijzing
                0
                3
                137

              • An affiliate website uses datafeeds and around 65.000 products are deleted in the new feeds. What are the best practises to do with the product pages? 404 ALL pages, 301 Redirect to the upper catagory?
                Everett
                Everett
                0
                5
                135

              • Any downsides of (permanent)redirecting 404 pages to more generic pages(category page)
                MatthewBarby
                MatthewBarby
                0
                2
                133

              • Time sensitive: HELP! We are having a problem doing a 301 redirect.....what can we do instead?
                PatriotOutfitters81
                PatriotOutfitters81
                0
                7
                148

              • What are the SEO consequences of using a 200 instead of a 301 redirect?
                StreamlineMetrics
                StreamlineMetrics
                1
                3
                4.0k

              • Do I need to use canonical tags if I'm 301 redirecting pages?
                RobertFisher
                RobertFisher
                0
                2
                423

              • Are there any negative effects to using a 301 redirect from a page to another internal page?
                RobertFisher
                RobertFisher
                0
                11
                6.4k

              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