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. What are the best ways to fix 404 errors?

    What are the best ways to fix 404 errors?

    Intermediate & Advanced SEO
    6 4 1.1k
    • 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.
    • webestate
      webestate last edited by

      I recently changed the url of my main blog and now have about 100 404 errors.  I did a redirect from the old url to the new one however still have errors.

      1.  Should I do a 301 redirect from each old blog post url to the new blog post url?

      2.  Should I just delete the old blog post (url) and rewrite the blog post?

      I"m not concerned about links to the old posts as a lot of them do not have many links.

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

        Hi Nathan

        If you're not concerned about passing the links/link equity of the old posts to a new page, or if you don't think there are any users visiting the URL directly, then I would simply leave the page as a 404 error.

        404s are a natural part of the course and Google recognises this - check out this webmaster blog post. 100 404s isn't an awful lot, so I wouldn't worry about them unless they're interrupting a user journey (which you'll be able to check in analytics).

        If you really want to get rid of them, then a 301 would be the way to go in my opinion. 100 301s will not slow down your .htaccess file by any noticeable margin. But overall, I'd let the 404s be 404s.

        1 Reply Last reply Reply Quote 1
        • Highland
          Highland last edited by

          Are we talking about a structural change (i.e. domain.com/blog to domain.com/myblog) or a TLD change (domain.com to domain2.com)? If you kept the same blog structure otherwise, I would write a .htaccess file to make sure you just blanket redirect all URLs. It's easy to do that way but not everyone has access to that.

          I recommend 301s just because they avoid the sloppiness problem. I mean, you wrote the content for people to find, right? If they hit a 404 it just frustrates them. It doesn't matter whether or not you need the SEO, I like it when a 301 takes me where I really need to go. it shows someone cared enough to make sure I could get to what they had done. It's a pride of authorship thing.

          webestate 1 Reply Last reply Reply Quote 1
          • SEOAndy
            SEOAndy last edited by

            As tom says 404 errors are not the end of the world.

            if you are concerned then as long as the relative urls have remained the same and the root directory is all that has changes a 301 in bulk should work, though if you've changed categories or something it may not work so well as a single entity and 100 would be the way to go.

            Something that you should do, if you've not already, is within webmaster tools make sure you tell Google you've changed your url (configuration > change address) - it also has a mini guide on the steps you should be taking, including to register your new domain on webmaster tools.

            But again, as tom says, if it's not destroying the user experience and isn't a huge annoyance for visitors don't worry too much about it.

            --

            Just for your reference a full url redirect (aka changing say abc.com to abc.net - moving all directories and urls in one go) would look like

            RedirectMatch 301 ^(.*)$ http://www.abc.net
            
            webestate 1 Reply Last reply Reply Quote 2
            • webestate
              webestate @Highland last edited by

              I did change the structure domain.com/blue-blog to domain.com/blog.  So I did a rewrite rule in the .htaccess file.  That fixed a lot of things however there are still 100 or so 404's.  They are old blog posts and not really that important.

              1 Reply Last reply Reply Quote 0
              • webestate
                webestate @SEOAndy last edited by

                Thanks Andy.  I made this change........domain.com/blue-blog to domain.com/blog using a rewriterule.  It seemed to work.

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                • Best way to link to 1000 city landing pages from index page in a way that google follows/crawls these links (without building country pages)?
                  lcourse
                  lcourse
                  0
                  7
                  54

                • I have 6 URL errors in GSC showing a 500 error code. How do I fix?
                  pmull
                  pmull
                  0
                  5
                  183

                • Best way to fix 404 crawl errors caused by Private blog posts in WordPress?
                  FedeEinhorn
                  FedeEinhorn
                  0
                  2
                  468

                • Should i fix 404 my errors?
                  Francisco_Meza
                  Francisco_Meza
                  0
                  4
                  137

                • What is the best way to link between all my portals?
                  Carolinek
                  Carolinek
                  0
                  3
                  415

                • Status Code: 404 Errors. How to fix them.
                  VictorVC
                  VictorVC
                  0
                  4
                  922

                • Best way to geo redirect
                  AlanMosley
                  AlanMosley
                  0
                  2
                  930

                • 202 error page set in robots.txt versus using crawl-able 404 error
                  EricaMcGillivray
                  EricaMcGillivray
                  0
                  3
                  870

                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