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. Is there a way to set up 301 auto redirects from 404s

    Is there a way to set up 301 auto redirects from 404s

    Technical SEO Issues
    5 5 61
    • 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.
    • lina_digital
      lina_digital last edited by

      some of our pages under a specific website section gets deleted from another data source and we want to resolve the problem of 404s can we set up automated 301 redirects to the main page as soon as one of these pages are deleted

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

        Hi. What are you using for your website? Wordpress or another CRM? What is the other data source that deletes the pages?

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

          If you are on a Wordpress website there is an "All 404 to Homepage" Plugin that you can install for free that makes all 404 pages redirect to your homepage. This is what I have found to be the easiest solution to this, otherwise you can setup individual 301s from each broken URL to a relevant live URL.

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

            Yes, you can setup a redirect depending on your CMS. We use DNN and there is a section in the site settings that makes this easily possible...or even design your own 404 page any way you want.

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

              Hi there,

              Yes, there are several ways you could do that, but my question is, if it is worth it, or not. If we are talking about a large website, you could have issues with Google's crawl budget. Basically, the crawlers would have to go through an additional 301 to land on your homepage.

              Google describes their best practices about redirecting 404 pages here: https://support.google.com/webmasters/answer/181708?hl=en

              • If your page is no longer available, and has no clear replacement, it should return a 404 (not found) or 410 (Gone) response code. Either code clearly tells both browsers and search engines that the page doesn’t exist. You can also display a custom 404 page to the user, if appropriate: for example, a page containing a list of your most popular pages, or a link to your homepage.
              • If your page has moved or has a clear replacement, return a 301 (permanent redirect) to redirect the user as appropriate.

              In my opinion, the decision should be determined by the size of the website. If we are talking about a big website, maybe it would be more beneficial if you follow Google's guidelines, implement a 410 status code. If the website is small, maybe you could redirect the users to the homepage, and hope they are going continue their journey on your website.

              István

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Help Setting Up 301 Redirects from Coldfusion Site to Wordpress Site.
                MarketHubb
                MarketHubb
                1
                3
                143

              • Best & easiest way to 301 redirect on IIS
                2MSens
                2MSens
                0
                13
                2.2k

              • Redirect a 301 Redirect
                RedCaffeine
                RedCaffeine
                0
                5
                98

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

              • To 301 redirect or not to 301 redirect? duplicate content problem www.domain.com and www.domain.com/en/
                Chris-CA
                Chris-CA
                0
                5
                456

              • Does it really matter to set 301 redirect for not found error pages?
                alsvik
                alsvik
                0
                4
                431

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

              • Any way around buying hosting for an old domain to 301 redirect to a new domain?
                MarkFasel51
                MarkFasel51
                0
                17
                1.7k

              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