Skip to content
    Moz logo Menu open Menu close
    • Products
      • Moz Pro
      • Moz Pro Home
      • Moz Local
      • Moz Local Home
      • STAT
      • Moz API
      • Moz API Home
      • Compare SEO Products
      • Moz Data
    • Free SEO Tools
      • Domain Analysis
      • Keyword Explorer
      • Link Explorer
      • Competitive Research
      • MozBar
      • More Free SEO Tools
    • Learn SEO
      • Beginner's Guide to SEO
      • SEO Learning Center
      • Moz Academy
      • SEO Q&A
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • Case Studies
      • The Moz Story
      • New Releases
    • Log in
    • Log out
    • Products
      • Moz Pro

        Your all-in-one suite of SEO essentials.

      • Moz Local

        Raise your local SEO visibility with complete local SEO management.

      • STAT

        SERP tracking and analytics for enterprise SEO experts.

      • Moz API

        Power your SEO with our index of over 44 trillion links.

      • Compare SEO Products

        See which Moz SEO solution best meets your business needs.

      • Moz Data

        Power your SEO strategy & AI models with custom data solutions.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • Free SEO Tools
      • Domain Analysis

        Get top competitive SEO metrics like DA, top pages and more.

      • Keyword Explorer

        Find traffic-driving keywords with our 1.25 billion+ keyword index.

      • Link Explorer

        Explore over 40 trillion links for powerful backlink data.

      • Competitive Research

        Uncover valuable insights on your organic search competitors.

      • MozBar

        See top SEO metrics for free as you browse the web.

      • More Free SEO Tools

        Explore all the free SEO tools Moz has to offer.

      What is your Brand Authority?
      Moz

      What is your Brand Authority?

      Check yours now
    • Learn SEO
      • Beginner's Guide to SEO

        The #1 most popular introduction to SEO, trusted by millions.

      • SEO Learning Center

        Broaden your knowledge with SEO resources for all skill levels.

      • On-Demand Webinars

        Learn modern SEO best practices from industry experts.

      • How-To Guides

        Step-by-step guides to search success from the authority on SEO.

      • Moz Academy

        Upskill and get certified with on-demand courses & certifications.

      • SEO Q&A

        Insights & discussions from an SEO community of 500,000+.

      Unlock flexible pricing & new endpoints
      Moz API

      Unlock flexible pricing & new endpoints

      Find your plan
    • Blog
    • Why Moz
      • Small Business Solutions

        Uncover insights to make smarter marketing decisions in less time.

      • Agency Solutions

        Earn & keep valuable clients with unparalleled data & insights.

      • Enterprise Solutions

        Gain a competitive edge in the ever-changing world of search.

      • The Moz Story

        Moz was the first & remains the most trusted SEO company.

      • Case Studies

        Explore how Moz drives ROI with a proven track record of success.

      • New Releases

        Get the scoop on the latest and greatest from Moz.

      Surface actionable competitive intel
      New Feature

      Surface actionable competitive intel

      Learn More
    • Log in
      • Moz Pro
      • Moz Local
      • Moz Local Dashboard
      • Moz API
      • Moz API Dashboard
      • Moz Academy
    • Avatar
      • Moz Home
      • Notifications
      • Account & Billing
      • Manage Users
      • Community Profile
      • My Q&A
      • My Videos
      • Log Out

    The Moz Q&A Forum

    • Forum
    • Questions
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. Home
    2. SEO Tactics
    3. Technical SEO
    4. How to Stop Google from Indexing Old Pages

    Moz Q&A is closed.

    After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

    How to Stop Google from Indexing Old Pages

    Technical SEO
    4
    11
    15179
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with question management privileges can see it.
    • rhoadesjohn
      rhoadesjohn last edited by

      We moved from a .php site to a java site on April 10th.  It's almost 2 months later and Google continues to crawl old pages that no longer exist (225,430 Not Found Errors to be exact).

      These pages no longer exist on the site and there are no internal or external links pointing to these pages.

      Google has crawled the site since the go live, but continues to try and crawl these pages.

      What are my next steps?

      1 Reply Last reply Reply Quote 0
      • Ikusa
        Ikusa @rhoadesjohn last edited by

        All my clients are impatient with Google's crawl.  I think the speed of life on the web has spoiled them.  Assuming your site isn't a huge e-commerce or subject-matter site...you will get crawled but not right away.  Smaller, newer sites take time.

        Take any concern and put it towards link building to the new site so Google's crawlers find it faster (via their seed list).  Get it up on DMOZ, get that Twitter account going, post videos to Youtube, etc.  Get some juicy high-PR inbound links and that could help speed up the indexing.  Good luck!

        1 Reply Last reply Reply Quote 0
        • Ikusa
          Ikusa @rhoadesjohn last edited by

          Like Mike said above, there still isn't enough info provided for us to give you a very clear response, but I think he is right to point out that you shouldnt really care about the extinct pages in Google's index.  They should, at some point, expire.

          You can specify particular URLs to remove in GWT, or your robots.txt file, but that doesn't seem the best option for you. My recommendation is to just prepare the new site in the new location, upload a good clean sitemap.xml to GWT, and let them adjust.  If you have much of the same content as well, Google will know due to the page creation date which is the newer and more appropriate site.  Hate to say "trust the engines" but in this case, you should.

          You may also consider a rel="author" tag in your new site to help Google prioritize the new site.  But really the best thing is a new site on a new domain, a nice sitemap.xml, and patience. 😄

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

            To further clear things up...

            I can 301 every page from the old .php site to our new homepage (However, I'm concerned about Google's impression of our overall user experience).

            Or

            I can 410 every page from the old .php site (Wouldn't this tell Google to stop trying to crawl these pages?  Although these pages technically still exist, they just have a different URL and directory structure.  Too many to set up individual 301's tho).

            Or

            I can do nothing and wait for these pages to drop off of Google's radar

            What is the best option?

            Ikusa 1 Reply Last reply Reply Quote 0
            • MikeRoberts
              MikeRoberts @rhoadesjohn last edited by

              After reading the further responses here I'm wondering something...

              You switched to a new site, can't 301 the old pages, and have no control over the old domain... So why are you worried about pages 404ing on an unused site you don't control anymore?

              Maybe I'm missing something here or not reading it right. Who does control the old domain then? Is the old domain just completely gone? Because if so, why would it matter that Google is crawling non-existent pages on a dead site and returning 404s and 500s? Why would that necessarily affect the new site?

              Or is it the same site but you switched to Java from PHP? If so, wouldn't your CMS have a way of redirecting the old pages that are technically still part of your site to the newer relevant pages on the site?

              I feel like I'm missing pertinent info that might make this easier to digest and offer up help.

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

                Sean,

                Many thanks for your response.  We have submitted a new, fresh site map to Google, but it seems like it's taking them forever to digest the changes.

                We've been keeping track of rankings, and they've been going down, but there are so many changes going on at once with the new site, it's hard to tell what is the primary factor for the decline.

                Is there a way to send Google all of the pages that don't exist and tell them to stop looking for them?

                Thanks again for your help!

                Ikusa 1 Reply Last reply Reply Quote 0
                • Ikusa
                  Ikusa @rhoadesjohn last edited by

                  You would need access to the domain to set up the 301.  If you no longer can edit files on the old domain, then your best bet is to update Webmaster Tools with the new site info and a sitemap.xml and wait for their caches to expire and update.

                  Somebody can correct me on this if I'm wrong, but getting so many 404s and 500's already has probably impacted your rankings so significantly, that you may be best served to approach the whole effort as a new site.  Again, without more data, I'm left making educated guesses here.  And if you aren't tracking your rankings (as you asked how much it is impacting...you should be able to see), then I would let go of the old site completely and build search traffic fresh on the new domain.  You'd probably generate better results in the long term by jettisoning a defunct site with so many errors.

                  I confess, without being able to dig into the site analytics and traffic data, I can't give direct tactical advice.  However, the above is what I would certainly do.  Resubmitting a fresh sitemap.xml to GWT and deleting all the info to the old site in there is probably your best option.  I defer to anyone with better advice.  What a tough position you are in!

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

                    Thanks all for the feedback.

                    We no longer have access to the old domain.  How do we institute a 301 if we can no longer access the page?

                    We have over 200,000 pages throwing 404's and over 70,000 pages throwing 500 errors.

                    This probably doesn't look good to Google.  How much is this impacting our rankings?

                    Ikusa MikeRoberts 2 Replies Last reply Reply Quote 0
                    • Ikusa
                      Ikusa last edited by

                      Like others have said, a 301 redirect and updating Webmaster Tools should be most of what you need to do.  You didn't say if you still have access to the old domain (where the pages are still being crawled) or if you get a 404, 503, or some other error when navigating to those pages.  What are you seeing or can you provide a sample URL?  That may help eliminate some possibilities.

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

                        You should implement 301 redirects from your old pages to their new locations. It's sounds like you have a fairly large site, which means Google has tons of your old pages in its index that it is going to continue to crawl for some time. It's probably not going to impact you negatively, but if you want to get rid of the errors sooner I would throw in some 301s. \

                        With the 301s you'll also get any link value that the old pages may be getting from external links (I know you said there are none, but with 200K+ pages it's likely that at least one of the pages is being linked to from somewhere).

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

                          Have you submitted a new sitemap to Webmaster Tools? Also, you could consider 301 redirecting the pages to relevant new pages to capitalize on any link equity or ranking power they may have had before. Otherwise Google should eventually stop crawling them because they are 404. I've had a touch of success getting them to stop crawling quicker (or at least it seems quicker) by changing some 404s to 410s.

                          1 Reply Last reply Reply Quote 1
                          • 1 / 1
                          • First post
                            Last post

                          Got a burning SEO question?

                          Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                          Start my free trial


                          Browse Questions

                          Explore more categories

                          • Moz Tools

                            Chat with the community about the Moz tools.

                          • SEO Tactics

                            Discuss the SEO process with fellow marketers

                          • Community

                            Discuss industry events, jobs, and news!

                          • Digital Marketing

                            Chat about tactics outside of SEO

                          • Research & Trends

                            Dive into research and trends in the search industry.

                          • Support

                            Connect on product support and feature requests.

                          • See all categories

                          Related Questions

                          • Chophel

                            My WP website got attack by malware & now my website site:www.example.ca shows about 43000 indexed page in google.

                            Hi All My wordpress website got attack by malware last week. It affected my index page in google badly. my typical site:example.ca shows about 130 indexed pages on google. Now it shows about 43000 indexed pages.  I had my server company tech support scan my site and clean the malware yesterday. But it still shows the same number of indexed page on google. Does anybody had ever experience such situation and how did you fixed it. Looking for help. Thanks FILE HIT LIST:
                            {YARA}Spam_PHP_WPVCD_ContentInjection : /home/example/public_html/wp-includes/wp-tmp.php
                            {YARA}Backdoor_PHP_WPVCD_Deployer : /home/example/public_html/wp-includes/wp-vcd.php
                            {YARA}Backdoor_PHP_WPVCD_Deployer : /home/example/public_html/wp-content/themes/oceanwp.zip
                            {YARA}webshell_webshell_cnseay02_1 : /home/example2/public_html/content.php
                            {YARA}eval_post : /home/example2/public_html/wp-includes/63292236.php
                            {YARA}webshell_webshell_cnseay02_1 : /home/example3/public_html/content.php
                            {YARA}eval_post : /home/example4/public_html/wp-admin/28855846.php
                            {HEX}php.generic.malware.442 : /home/example5/public_html/wp-22.php
                            {HEX}php.generic.cav7.421 : /home/example5/public_html/SEUN.php
                            {HEX}php.generic.malware.442 : /home/example5/public_html/Webhook.php

                            Technical SEO | | Chophel
                            0
                          • SpodekandCo

                            Is there a way to get a list of all pages of your website that are indexed in Google?

                            I am trying to put together a comprehensive list of all pages that are indexed in Google and have differing opinions on how to do this.

                            Technical SEO | | SpodekandCo
                            0
                          • O2C

                            Blog Page Titles - Page 1, Page 2 etc.

                            Hi All, I have a couple of crawl errors coming up in MOZ that I am trying to fix. They are duplicate page title issues with my blog area. For example we have a URL of www.ourwebsite.com/blog/page/1 and as we have quite a few blog posts they get put onto another page, example www.ourwebsite.com/blog/page/2 both of these urls have the same heading, title, meta description etc. I was just wondering if this was an actual SEO problem or not and if there is a way to fix it. I am using Wordpress for reference but I can't see anywhere to access the settings of these pages. Thanks

                            Technical SEO | | O2C
                            0
                          • SarahLK

                            Removed Subdomain Sites Still in Google Index

                            Hey guys, I've got kind of a strange situation going on and I can't seem to find it addressed anywhere.  I have a site that at one point had several development sites set up at subdomains.  Those sites have since launched on their own domains, but the subdomain sites are still showing up in the Google index.  However, if you look at the cached version of pages on these non-existent subdomains, it lists the NEW url, not the dev one in the little blurb that says "This is Google's cached version of www.correcturl.com."  Clearly Google recognizes that the content resides at the new location, so how come the old pages are still in the index?  Attempting to visit one of them gives a "Server Not Found" error, so they are definitely gone. This is happening to a couple of sites, one that was launched over a year ago so it doesn't appear to be a "wait and see" solution. Any suggestions would be a huge help.  Thanks!!

                            Technical SEO | | SarahLK
                            0
                          • CharmingGuy

                            How to block text on a page to be indexed?

                            I would like to block the spider indexing a block of text inside a page , however I do not want to block the whole page with, for example , a noindex tag. I have tried already with a tag like this : chocolate pudding chocolate pudding However this is not working for my case, a travel related website. thanks in advance for your support. Best regards Gianluca

                            Technical SEO | | CharmingGuy
                            0
                          • priceseo

                            How to determine which pages are not indexed

                            Is there a way to determine which pages of a website are not being indexed by the search engines? I know Google Webmasters has a sitemap area where it tells you how many urls have been submitted and how many are indexed out of those submitted. However, it doesn't necessarily show which urls aren't being indexed.

                            Technical SEO | | priceseo
                            1
                          • UnderRugSwept

                            Google is indexing my directories

                            I'm sure this has been asked before, but I was looking at all of Google's results for my site and I found dozens of results for directories such as: Index of /scouting/blog/wp-includes/js/swfupload/plugins Obviously I don't want those indexed. How do I prevent Google from indexing those? Also, it only seems to be doing it with Wordpress, not any of the directories on my main site. (We have a wordpress blog, which is only a portion of the site)

                            Technical SEO | | UnderRugSwept
                            0
                          • PatBausemer

                            Getting Pages Indexed That Are Not In The Main Navigation

                            Hi All, Hoping you can help me out with a couple of questions I have. I am looking to create SEO friendly landing pages optimized for long tail keywords to increase site traffic and conversions. These pages will not live on the main navigation. I am wondering what the best way to get these pages indexed is? Internal text linking, adding to the sitemap? What have you done in this situation? I know that these pages cannot be orphaned pages and they need to be linked to somewhere. Looking for some tips to do this properly and to ensure that they can become indexed. Thanks! Pat

                            Technical SEO | | PatBausemer
                            0

                          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
                          Free SEO Tools
                          • Domain Authority Checker
                          • Link Explorer
                          • Keyword Explorer
                          • Competitive Research
                          • Brand Authority 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 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                          • Accessibility
                          • Terms of Use
                          • Privacy

                          Looks like your connection to Moz was lost, please wait while we try to reconnect.