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. Getting subdomains unindexed

    Getting subdomains unindexed

    Technical SEO Issues
    7 4 1.4k
    • 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.
    • kchandler
      kchandler last edited by

      If i turn an application off displaying a 503 error will that get my site unindexed from search engines?

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

        Eventually, but that's the code Google recommends to return when your site is having downtime, so I would expect them to be more lenient towards not removing things right away.  I wouldn't expect it to be as efficient as returning a 404 or a 410.

        The best way to get content de-indexed is to return a page with a meta noindex tag on it, if you're really keen on getting it removed immediately.

        kchandler 1 Reply Last reply Reply Quote 1
        • kchandler
          kchandler @john4math last edited by

          Thanks for the quick reply, i will have to try that. Essentially i am trying to get the site un-indexed but i wasn't sure if a 503 would do the trick.

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

            No index tag on it works, and putting up a robots.txt that disallows everyone should work as well.

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

              With a robots.txt blocking it, you can then go into Google Webmaster Tools and request removal of that particular page or folder from Google's index.

              kchandler KeriMorgret 2 Replies Last reply Reply Quote 0
              • kchandler
                kchandler @KeriMorgret last edited by

                GWT was the first placed i checked unfortunately you can only remove directories or pages. I need entire subdomained sites to be removed (in fact they shouldn't of been indexed in the first place).

                We use subdomains for our development testing environment when creating client sites and once the site is approved we push it live replacing the old site. Somehow these testing sites are getting indexed and it may pose a threat to duplicate content on different domains. So i am trying to find a solution to get the subdomains (100's of them) unindexed.

                I understand a 301 redirect is best but that isn't really applicable since these test sites still need to be reached by clients.

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

                  Subdomains can be verified as their own site in GWT. Verify the subdomain in GWT, then put a robots.txt on that subdomain excluding the entire subdomain, then request removal in GWT of that entire subdomain. I've had to remove staging and dev sites a couple of times myself.

                  A couple of things I've found useful in this situation is to make the robots.txt files for both the dev and live sites read only, so you don't accidentally overwrite one with the other when pushing a site live. You can also sign up for a free tool like Pole Position's Code Monitor that will look at the code of a page (including your robots.txt url) once a day and email you if there are any changes so you can fix the file then go hunt down whoever changed the file. 🙂

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  • Subdomain or subfolder?
                    NickSamuel
                    NickSamuel
                    0
                    4
                    1.6k

                  • What to do about this subdomain for SEO?
                    kelseyc
                    kelseyc
                    0
                    3
                    85

                  • Subdomain question
                    UmarKhan
                    UmarKhan
                    0
                    2
                    52

                  • Getting mixed signals regarding how Google treats subdomains
                    EGOL
                    EGOL
                    1
                    4
                    2.9k

                  • Content on subdomain...
                    Oren.
                    Oren.
                    0
                    4
                    109

                  • Should I blow up our subdomain?
                    ChristopherGlaeser
                    ChristopherGlaeser
                    0
                    5
                    121

                  • Domains and subdomains
                    SkitterD
                    SkitterD
                    0
                    4
                    911

                  • Subdomains
                    DanDeceuster
                    DanDeceuster
                    0
                    2
                    931

                  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