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. Setting a 404, best practices

    Setting a 404, best practices

    Intermediate & Advanced SEO
    2 2 907
    • 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.
    • nicole.healthline
      nicole.healthline last edited by

      Is it enough to just delete a page, or is it necessary to do something else to 404 a page correctly?

      Is there a great link to explain how to set http status codes?

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

        If for any reason a web page is not found your web server will return a 404 http header code. Wikipedia offers a very readable status code list:

        http://en.wikipedia.org/wiki/List_of_HTTP_status_codes

        The challenge you are facing is Google does not automatically de-index a link due to receiving a 404 error. At times Google might crawl a site and there can be an issue where a page is not available, or even your whole site. In my opinion the best way to handle that is for Google to wait until they have received a 404 response a few times, then remove the page.

        Make sure your page is not blocked by robots.txt or else Google will never be able to see the page and know it is 404'd.

        1 Reply Last reply Reply Quote 2
        • 1 / 1
        • First post
          Last post
        • What is best practice for "Sorting" URLs to prevent indexing and for best link juice ?
          katemorris
          katemorris
          0
          6
          1.4k

        • Best Practices
          RangeMarketing
          RangeMarketing
          0
          6
          95

        • Best practice for expandable content
          rikano
          rikano
          0
          3
          1.5k

        • Title Tag Best Practices
          bionewstx
          bionewstx
          0
          5
          503

        • Best Practice for setting up expert author contributing to Multiple Sites?
          seagreen
          seagreen
          0
          4
          122

        • SEO Best practice for competitions
          Unity
          Unity
          0
          4
          266

        • Is This 301 Use Best Practice??
          KaneJamison
          KaneJamison
          0
          5
          539

        • Website Siloing..best practice?
          Total_Displays
          Total_Displays
          0
          5
          787

        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