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. Pages that 301 redirect to a 404

    Pages that 301 redirect to a 404

    Intermediate & Advanced SEO
    3 3 137
    • 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.
    • sbb024
      sbb024 last edited by

      We are going through a website redesign that involves changing URL's for the pages on our site. Currently all our pages are in the format domain.com/example.html and we are moving to stip off the .html file extension so it would just be domain.com/example

      We have thousands of pages as the site deals with news so building a redirect for each individual page isn't really feasible. My plan is to have a generic rewrite rule that redirects any page that ends .html to the stripped off version of this. A problem I can see with this is that it will also redirect pages that don't exist.

      So for example, domain.com/non-existant-page.html would 301 to domain.com/non-existant-page which would then return a 404 status.

      What would the SEO repercussions be for this? Obviously if a page doesn't exist already then it shouldn't show up in the search engine indexes and shouldn't be a problem but I'm a bit worried about how old pages that currently legitimately 404 will be treated when they start to 301 redirect to a 404 instead. Not sure if there any other potential issues from this that I've missed either?

      Thanks!

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

        Using the rewrite rule is fine.

        There is no issue with domain.com/non-existant-page.html 301 redirecting to domain.com/non-existant-page which would then return a 404 status. If you go to anydomain.com/any-non-existing-page you will return a 404 page but this endless amount of possible pages will not be crawled by search engines because they do not exist and you (or anyone else) should not be linking to them.

        With your old, legit 404 error pages, I would recommend 301 redirecting them to a relevant new page, a relevant category page, or the homepage if nothing else is suitable.

        1 Reply Last reply Reply Quote 2
        • JarnoNijzing
          JarnoNijzing last edited by

          I agree with Dave.

          When the page redirects from a page to a 404 it's another redirect however the url mentioned does not exist so there should not be any links to it within your site. If a competitor is linking to a non existing page it's referred to external and as long as it stays like that then you should be just fine. The problem starts when you start linking to a non existing page.

          So keep it clean and implement the change I would say.

          1 Reply Last reply Reply Quote 1
          • 1 / 1
          • First post
            Last post
          • Would You Redirect a Page if the Parent Page was Redirected?
            Nozzle
            Nozzle
            0
            4
            92

          • 301 Redirect to Home Page or Sub-Page?
            zeehj
            zeehj
            0
            2
            149

          • How to 301 Redirect /page.php to /page, after a RewriteRule has already made /page.php accessible by /page (Getting errors)
            DirkC
            DirkC
            0
            2
            435

          • 301 redirect for page 2, page 3 etc of an article or feed
            mosquitohawk
            mosquitohawk
            0
            3
            189

          • 301 Redirect To Another 301 Redirect
            cbielich
            cbielich
            0
            5
            247

          • 301 redirect subdomain to path and 301 for popular pages
            Mike.Goracke
            Mike.Goracke
            0
            2
            187

          • How to conduct catch 301 redirects & have the separate 301 redirects for the key pages
            BenRWoodard
            BenRWoodard
            0
            2
            288

          • 301 - should I redirect entire domain or page for page?
            dunklea
            dunklea
            0
            4
            679

          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