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. 404 with a Javascript Redirect to the index page...

    404 with a Javascript Redirect to the index page...

    Intermediate & Advanced SEO
    3 2 2.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.
    • JusinDuff
      JusinDuff last edited by

      I have a client that is wanting me to issue a 404 on her links that are no longer valid to a custom 404, pause for 10 seconds, then rediirect to the root page (or whatever other redirect logic she wants)...to me it seems trying to game googlebot this way is a "bad idea"

      Can anyone confirm/deny or offer up a better suggestion?

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

        Don't think you are gaming Googlebot.  You are showing it a 404 (that is good) so GB knows that the page is dead.  You are showing a custom page to the user that should let them know the page is dead.  I think the custom page should say something like "Oops, this page no longer exists, redirecting you to another more helpful page in 10 seconds (click here if you are not redirected).  You are

        I might give it 15-20 seconds to make sure the person has time to read it.

        You are showing the same thing to Gbot and the user, so no cloaking issues, i.e. you are not trying to game GB.

        You may want to reconsider a 301 redirect instead.  You then get the redirect automatically for the user (no pause or clicking needed) and the 301 tells google where the new page is etc.   The only caveat to that, if you are redirecting a bunch of pages to the home page (or some other index page)  - your solution above is probably better as you don't want to have a many to one situation with the 301s.  Google prefers more of a one to one on 301 redirects - otherwise they may tag your 301 as a soft 404.

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

          Thanks CleverPhD. Exactly what I was thinking, just wanted to have someone else confirm. Appreciate it!

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • To remove or not remove a redirected page from index
            JOkoiue
            JOkoiue
            0
            7
            49

          • How do we decide which pages to index/de-index? Help for a 250k page site
            julie-getonthemap
            julie-getonthemap
            0
            2
            63

          • Pages that 301 redirect to a 404
            JarnoNijzing
            JarnoNijzing
            0
            3
            137

          • Is it a problem to use a 301 redirect to a 404 error page, instead of serving directly a 404 page?
            lcourse
            lcourse
            0
            5
            2.0k

          • Redirecting 404 pages
            danatanseo
            danatanseo
            0
            2
            74

          • Urgent Site Migration Help: 301 redirect from legacy to new if legacy pages are NOT indexed but have links and domain/page authority of 50+?
            JDMcNamara
            JDMcNamara
            0
            7
            450

          • redirect 404 pages to homepage
            Dr-Pete
            Dr-Pete
            0
            8
            8.6k

          • 404 Redirecting to the home page
            triveraseo
            triveraseo
            0
            3
            823

          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