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. Alternative Search Sources
    4. Using Google Custom Search for custom 404 pages?

    Using Google Custom Search for custom 404 pages?

    Alternative Search Sources
    3 2 481
    • 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.
    • Cox-Media-Group
      Cox-Media-Group last edited by

      I'm looking to create a better 404 page. I'm looking at integrating Google Search as a custom 404 page. I found this article: https://www.smashingmagazine.com/2014/08/a-better-404-page/

      Basically, I want to grab whatever keyword(s) are in the broken page's URL and present custom Google search result to be displayed on the 404 page. Kind of like a "were you looking for this?" type of layout.

      Does anyone have experience with implementing this? Someone on my organization said that Google may "penalize" such practices.

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

        As long as those pages continue to return a 404 status code you shouldn't have any problem.

        The "penalization" risk occurs when you allow those pages to be indexed with a 200 OK status code in the http header, and if you allow them to be crawled. Here are a few links to educate yourself on what the person was probably referring to:

        http://searchengineland.com/googles-cutts-auto-generated-content-search-results-in-our-index-violate-our-guidelines-171553

        https://www.mattcutts.com/blog/search-results-in-search-results/

        Basically the strategy you outline is fine so long as those internal 404 and internal search pages aren't indexable by Google.

        1 Reply Last reply Reply Quote 1
        • Cox-Media-Group
          Cox-Media-Group last edited by

          Thanks! This clears things up.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Why rich snippets have disappeared in Google search results ?
            0
            1
            400

          • Is the search volume insight in Bing more accurate as it is in Google?
            vmialik
            vmialik
            0
            3
            383

          • Using the same Google Analytics account for two sites
            Zoolander
            Zoolander
            0
            6
            455

          • Google Trends Hot Searches hourly historical data?
            0
            1
            1.5k

          • Site search in Google results
            AndrewMcGarry
            AndrewMcGarry
            0
            7
            1.1k

          • Searching google without bias
            StreetwiseReports
            StreetwiseReports
            0
            4
            2.4k

          • Usage of the new Google quick flight search application
            DonnieCooper
            DonnieCooper
            0
            2
            920

          • Has anyone else been pushed to the encrypted Google search?
            CogentElliott
            CogentElliott
            0
            3
            1.1k

          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