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. Web Design
    4. Redirects (301/302) versus errors (404)

    Redirects (301/302) versus errors (404)

    Web Design
    6 6 3.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.
    • proptiger
      proptiger last edited by

      I am not able to convincingly decide between using redirects versus using 404 errors. People are giving varied opinions. Here are my cases

      1. Coding errors - we put out a bad link

      a. Some people are saying redirect to home page; the user at least has something to do PLUS more importantly it does NOT hurt your SEO ranking.

      b. Counter - the page ain't there. Return 404

      2. Product removed - link1 to product 1 was out there. We removed product1; so link1 is also gone. It is either lying in people's bookmarks, OR because of coding errors we left it hanging out at some places on our site.

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

        Hi For 1: I would suggest a custom friendly 404 page. This means the user sees a page saying something like 'Sorry the product / page you were after no longer exists. Here are some useful options ( then list a handful of popular page links). You could even includes a site search or your tel number / email to contact. This means the user knows what has hppened, had somewhere useful to go but it returns a 404. For 2: If the page is being moved - use a 301 redirect on the existing page. If you are simply not selling that product anymore than do a 404 as above. In both cases monitor your GA and GWT for 404s and fix where applicable. All the best. Richard

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

          Ok, here is the easiest way to understand this (As far as I think)!

          1. 404: This is the status code that browser give when the page on the website is not available.
          2. 302: This is the status code of the page if it is temporary redirected to some new page. This simply means that old page will not pass the link juice to the new page but when user reach to this URL will drive them to a new location.
          3. 301: This is the status code which does almost the same work as 302 but in that case old URL passes its link juice as well. This is commonly known as permanent redirection.

          Websites usually should not use 404 as this disturbs the user experience  of the page but upon requirement and keeping scenarios in mind use of 301 or 302 is always an intelligent approach.

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

            Richard and Moosa are right, use a friendly 404 page to help your users when they reach a page that can no longer be found. Simply redirecting them to the home page doesn't fix the issue of the missing page. Here's an old, but relevant, post on the subject: http://www.seomoz.org/blog/personalizing-your-404-error-pages.

            For your second issue, if you've permanently moved to a new product page, you should certainly 301 redirect to not only pass on all the link juice from the old page, but also to provide the best user experience for your customers - they were looking for the product so give them the new improved page :).

            Esaky 1 Reply Last reply Reply Quote 2
            • Esaky
              Esaky @GeorgeAndrews last edited by

              I have similar issue, Recently Google blocked my blog for Google Adsense then after removing two to five articles, now they are online.

              But now i get more 404 error for that page. I removed from the blog, I drafted them, in case if google not allowed the ads, i will re-publish it.

              Now i have to remove the post link from the search results and from cPanel i can redirect to the home page

              Their Page Authority is 25-30 respectively ! Plz advice me !

              1 Reply Last reply Reply Quote 0
              • Cyrus-Shepard
                Cyrus-Shepard last edited by

                To add to what George says....

                Google often tries to crawl pages that don't exist - simply to make sure they aren't missing anything on your site. When a page is clearly broken, you want to communicate this to Google by serving a 404 (but you can make it a friendly 404)

                Here's what Googler John Mueller has to say:

                What about the funky URLs that are “clearly broken?” When our algorithms like your site, they may try to find more great content on it, for example by trying to discover new URLs in JavaScript. If we try those “URLs” and find a 404, that’s great and expected. We just don’t want to miss anything important (insert overly-attached Googlebot meme here)."

                Google expects to find 404s on your site. When they don't find 404s for links that should be broken, this sends confusing signals and could cause crawl problems.

                I recommend reading this entire article - it's one of the most helpful I've ever read on the subject: http://googlewebmastercentral.blogspot.ch/2011/05/do-404s-hurt-my-site.html

                As for expired products  - as George said it's best to 301 them, usually to a category level page.

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                • Disallow: /sr/ and Disallow: /si/ - robots.txt
                  McTaggart
                  McTaggart
                  0
                  3
                  74

                • Https Implementation - Weird Redirection After Putting 's' in http://
                  Malika1
                  Malika1
                  0
                  3
                  290

                • Do I need to 301 redirect www.domain.com/index.html to www.domain.com/ ?
                  Yannis_s
                  Yannis_s
                  0
                  5
                  5.0k

                • 301 htaccess redirect or 301 HTTP DNS Redirect
                  OlegKorneitchouk
                  OlegKorneitchouk
                  0
                  2
                  1.4k

                • Is it necessary to Remove 301 redirects from Wordpress after removing the 404 url from Google Webmaster?
                  JCurrier
                  JCurrier
                  0
                  3
                  252

                • 404 errors
                  Copstead
                  Copstead
                  0
                  3
                  362

                • Is it OK to 301 Redirect http://homepage.com to http://blog.homepage.com?
                  SimonCullum
                  SimonCullum
                  0
                  4
                  601

                • Redirecting 301 Redirects -- Will Search Engines Notice?
                  bemcapaz
                  bemcapaz
                  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