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. Blocking Test Pages Enmasse on Sub-domain

    Blocking Test Pages Enmasse on Sub-domain

    Technical SEO Issues
    3 3 116
    • 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.
    • CeeC-Blogger
      CeeC-Blogger last edited by

      Hello,

      We have thousands of test pages on a sub-domain of our site. Unfortunately at some point, these pages were visible to search engines and got indexed.  Subsequently, we made a change to the robots.txt file for the test sub-domain. Gradually, over a period of a few weeks, the impressions and clicks as reported by Google Webmaster Tools fell off for the test. sub-domain.

      We are not able to implement the no index tag in the head section of the pages given the limitations of our CMS.

      Would blocking off Google bot via the firewall enmasse for all the test pages have any negative consequences for the main domain that houses the real live content for our sites (which we would like to of course remain in the Google index).

      Many thanks

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

        I'm a bit confused. Didn't blocking the test subdomain with the robots.txt already accomplish what you are trying to do? Or are the test pages still somehow indexed? Or is your main site affected by the robots.txt? Anyway, I would suggest using the .htaccess file to block search engines from accessing the subdomain rather than a firewall - http://stackoverflow.com/questions/6738896/excluding-testing-subdomain-from-being-crawled-by-search-engines-w-svn-reposit

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

          If you want nothing on that test subdomain indexed, verify that subdomain as its own site in Google Webmaster Tools, exclude that subdomain from being indexed in robots.txt, then request removal of that site (subdomain) in GWT.

          And consider setting up a page monitor like https://polepositionweb.com/roi/codemonitor/index.php on the robots.txt of your test site (and live site). It'll check the contents of those pages once a day, and email you if there's a change. Handy if there are multiple people working on the site.

          1 Reply Last reply Reply Quote 1
          • 1 / 1
          • First post
            Last post
          • Purchased domain with links - redirect page by page or entire domain?
            ninel_P
            ninel_P
            0
            5
            79

          • Domain vs Sub Domain and Rankings
            kwoolf
            kwoolf
            0
            6
            97

          • Sub-domain or sub-folder for a blog?
            TomRayner
            TomRayner
            0
            2
            133

          • Root domain ranks higher than sub pages
            NickKer
            NickKer
            0
            3
            377

          • What is the best method to block a sub-domain, e.g. staging.domain.com/ from getting indexed?
            KeriMorgret
            KeriMorgret
            0
            13
            6.3k

          • Block a sub-domain from being indexed
            X-X
            X-X
            0
            7
            13.1k

          • Using hyphenated sub-domains or non-hyphenated sub-domains? What is the question! I Any takers?
            dcmike
            dcmike
            0
            11
            5.5k

          • Will password protecting my test sub-domain help keep the SEs from indexing it?
            bloggidy
            bloggidy
            0
            6
            743

          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