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. Technical SEO Issues
    4. How preproduction website is getting indexed in Google.

    How preproduction website is getting indexed in Google.

    Technical SEO Issues
    7 7 460
    • 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.
    • nlogix
      nlogix last edited by

      Hi team,

      Can anybody please help me to find how my preproduction website and urls are  getting indexed in Google.

      1 Reply Last reply Reply Quote 0
      • Andy.Drinkwater
        Andy.Drinkwater last edited by

        Hi,

        Have you noindexed & nofollowed the site and pages? I would also suggest you block all crawlers by disallowing access in the robots.txt file.

        Do you know if this has all been done?

        -Andy

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

          Hi

          To prevent most search engine web crawlers from indexing a page on your site, place the following meta tag into the section of your page:

          To prevent only Google web crawlers from indexing a page:

          You should be aware that some search engine web crawlers might interpret the noindex directive differently. As a result, it is possible that your page might still appear in results from other search engines.

          here is complete guide: https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag?csw=1

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

            In addition to noindexing the pages using the meta tag, if you have WMT / Search Console set up, you can request Google remove those URLs from their index for the time being. I've found that this may take up to a couple of hours from the removal request to the time of actual removal.

            As to how they were found, there's a good chance that Google crawled a link to a preproduction webpage and went from there.

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

              Anoop, when a 'development' or 'preproduction' website or subdomain is getting indexed, that means that you haven't stopped the search engines from crawling it. The search engines, especially Google, are very aggressive at crawling, and they will crawl just about any URL that they find. It seems as though all you have to do is visit that page and it's going to get crawled.

              Best way to stop Google from crawling (then indexing) a website is to stop it from getting crawled using the robots.txt file. Keep in mind, though, that even if you tell them to stay out of it using the robots.txt file they will still index those URLs.

              The only way to stop Google from crawling would be to password protect the website or make it available only on a private server, or available via VPN only.

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

                Hi Anoop! Have everyone's answers helped? Do you still have any questions? 🙂

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

                  As Eric hinted, the best method to prevent any pages being indexed would be to use htaccess password protection dialog on your development site. It's fairly easy to implement. You can find instructions to do so here: http://www.htaccesstools.com/articles/password-protection/

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  • My WP website got attack by malware & now my website site:www.example.ca shows about 43000 indexed page in google.
                    0
                    1
                    82

                  • Website homepage temporarily getting removed from google index
                    Vanderlindemedia
                    Vanderlindemedia
                    0
                    5
                    66

                  • My Website stopped being in the Google Index
                    sydneygardening
                    sydneygardening
                    0
                    6
                    331

                  • Some of my website urls are not getting indexed while checking (site: domain) in google
                    MattRoney
                    MattRoney
                    0
                    3
                    95

                  • Get List Of All Indexed Google Pages
                    UmarKhan
                    UmarKhan
                    0
                    2
                    194

                  • Website is not indexed in Google
                    B.Great
                    B.Great
                    0
                    7
                    169

                  • How to get Google to index another page
                    Petersen11
                    Petersen11
                    0
                    14
                    628

                  • Mobile Google Not Indexing Mobile Website
                    JaneCopland
                    JaneCopland
                    0
                    2
                    686

                  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