undefined
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.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • 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. On-Page Optimization
  4. Blocking Subdomain from Google Crawl and Index

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.

Blocking Subdomain from Google Crawl and Index

On-Page Optimization
6
8
39.7k
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.
  • JesusD
    JesusD last edited by Nov 4, 2013, 9:16 PM

    Hey everybody, how is it going?

    I have a simple question, that i need answered.

    I have a main domain, lets call it domain.com. Recently our company will launch a series of promotions for which we will use cname subdomains, i.e try.domain.com, or buy.domain.com. They will serve a commercial objective, nothing more.

    What is the best way to block such domains from being indexed in Google, also from counting as a subdomain from the domain.com. Robots.txt, No-follow, etc?

    Hope to hear from you,

    Best Regards,

    1 Reply Last reply Reply Quote 3
    • odmsoft
      odmsoft last edited by Jul 28, 2015, 8:54 PM Jul 28, 2015, 8:54 PM

      Hello George, Thank you for fast answer! I read that article and there is some issue with that. if you can see at it, i'd really appreciate it. So the problem is that if i do it directly from Tumblr, it will also block it from Tumblr users. Here is the note right below that option "Allow this blog to appear in search results":
      "This applies to searches on Tumblr as well as external search engines, like Google or Yahoo."

      Also, if i do it from GWT, i'm very concerned to remove URLs with my subdomain because i afraid it will remove all my domain. For example, my domain is abc.com and the Tumblr blog is setup on tumblr.abc.com. So i afraid if i remove tumblr.abc.com from index, it will also remove my abc.com. Please let me know what you think.

      Thank you!

      1 Reply Last reply Reply Quote 0
      • webmethod
        webmethod @odmsoft last edited by Jul 27, 2015, 5:47 AM Jul 27, 2015, 5:47 AM

        Hi Marina,

        If I understand your question correctly, you just don't want your Tumblr blog to be indexed by Google. In which case these steps will help: http://yourbusiness.azcentral.com/keep-tumblr-off-google-3061.html

        Regards,

        George

        1 Reply Last reply Reply Quote 0
        • odmsoft
          odmsoft last edited by Jul 27, 2015, 2:10 AM Jul 27, 2015, 2:10 AM

          Hi guys, I read your conversation. I have similar issue but my situation is slightly different. I'll really appreciate if you can help with this. So i have also a subdomain that i don't want to be indexed by Google. However, that subdomain is not in my control. I mean, i created subdomain on my hosting but it is pointing to my Tumblr blog. So i don't have access to its robot txt. So can anybody advise what can i do in this situation to noindex that subdomain?

          Thanks

          webmethod 1 Reply Last reply Jul 27, 2015, 5:47 AM Reply Quote 0
          • topic:timeago_earlier,2 years
          • webmethod
            webmethod last edited by Dec 1, 2013, 10:02 AM Dec 1, 2013, 10:02 AM

            Personally I wouldn't rely just on robots.txt, as one accidental, public link to any of the pages (easier than you may think!) will result in Google indexing that subdomain page (it just won't be followed). This means that the page can get "stuck" in Google's index and to resolve it you would need to remove it using WMT (instructions here). If there were a lot of pages accidentally indexed, you would need to remove the robots.txt restriction so Google can crawl it, and put a noindex/nofollow tags on the page so Google drops it from its index.

            To cut a long story short, I would do both Steps 1 and 2 outlined by Federico if you want to sleep easy at night :).

            George

            1 Reply Last reply Reply Quote 2
            • topic:timeago_earlier,26 days
            • Kingof5
              Kingof5 last edited by Nov 5, 2013, 12:52 PM Nov 5, 2013, 12:52 PM

              It would also be smart to add the subdomains in Webmaster Tools in case one does get indexed and you need to remove it.

              1 Reply Last reply Reply Quote 1
              • OnlineAssetPartners
                OnlineAssetPartners last edited by Nov 4, 2013, 10:20 PM Nov 4, 2013, 10:20 PM

                Robots.txt is easiest and quickest way. As a back up you can use the Noindex meta tag on the pages in the subdomain

                1 Reply Last reply Reply Quote 0
                • FedeEinhorn
                  FedeEinhorn last edited by Nov 4, 2013, 9:23 PM Nov 4, 2013, 9:23 PM

                  2 ways to do it with different effects:

                  1. Robots.txt in each subdomain. This will entirely block any search engine to even access those pages, so they won't know what they have inside.

                    User-Agent:*

                    Disallow: /

                  2. noindex tags in those pages. This method allows crawlers to read the page and maybe index (if you set a "follow") the pages to which you link to.or "nofollow" if you don't want the linked pages to be indexed either.

                  Hope that helps!

                  1 Reply Last reply Reply Quote 1
                  • 1 / 1
                  1 out of 8
                  • First post
                    1/8
                    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

                  • hakhan201

                    Does RSS Feed help to rank better in Google?

                    Hello, I heard RSS Feed helps in ranking. However, I am not sure if I should enable RSS Feed or not. Whenever I publish an article on my site , I see that many other websites have leeched my Feed and get's the same article I written published with a nofollow backlink to my website article. The worst part is that my article doesn't appear in Google search, but the website which copied my article gets ranked in Google. Although the article gets index on google (checked by using site:website.com). Although some articles show up after 24 hours by ranking higher from the sites which copied my article. Any idea what should I do? Thank you

                    On-Page Optimization | Jun 7, 2016, 1:12 PM | hakhan201
                    0
                  • Red_educativa

                    Google is indexing urls with parameters despite canonical

                    Hello Moz, Google is indexing lots of urls despite the canonical in my site. Those urls are linked all over the site with parameters like ?, and looks like Google is indexing them despite de canonical. Is Google deciding to index those urls because they are linked all over the site? The canonical tag is well implemented.

                    On-Page Optimization | Oct 10, 2014, 3:55 AM | Red_educativa
                    0
                  • Restore

                    Is it bad to include google Maps in footer?

                    We have 5 locations and we were thinking about including a map for each location in the footer.  These would be set-up as no-follow links.  They could potentially enhance user experience but it also increases size of footer.  Right now there are just basic links to pages (sitemap, terms, etc), contact info, social links, and contact form.  If we did the maps it would also include link to the individual location pages.  Not sure if we are doing too much in footer or need to just keep it basic. Thanks for the help!

                    On-Page Optimization | May 30, 2014, 6:19 AM | Restore
                    0
                  • SoftwareMarketing

                    How to find google indexed pages

                    I can't find where the # of indexed pages are on my google analytics. I tried the instructions below, but the index status was not an option on my dashboard. View the Index Status page: On the Webmaster Tools home page, click the site you want. On the Dashboard, click Google Index, and then click Index Status.

                    On-Page Optimization | Nov 8, 2013, 4:21 PM | SoftwareMarketing
                    0
                  • JoshuaLindley

                    Inches or " Feet or ' Does Google translate the symbols?

                    I have a client who sells things that the size is important.  In their industry some people say "15 Inch Blue Widget" and others say "15" Blue Widget" using the symbol " for inches.  On the page I know we could say both to cover all the bases but I want to get the title right.  In their industry there is not one more preferred than the other.  Does anybody know if Google translates ' to feet and " to inches.  Should I work both into the title for a product or only one?

                    On-Page Optimization | Sep 30, 2013, 6:45 AM | JoshuaLindley
                    0
                  • joeko

                    Will Google penalize my website if I hide the H1 tag?

                    If I hide H1 tag (title on the homepage) with CSS, how Google handle with my site?

                    On-Page Optimization | Feb 1, 2013, 5:50 PM | joeko
                    0
                  • iwebdevnl

                    Does Google look at page design

                    Hi everybody, At the moment i'm creating several webshops and websites with the same layout, so visitors can recognize the websites are from the same company. But i was wondering: Does google look at the layout of a webpage that it's not a copy of another website? This because loads of website have the same wordpress/joomla templates etc, or doesn't this effect rankingpositions? Thank you,

                    On-Page Optimization | Apr 20, 2012, 7:30 PM | iwebdevnl
                    0
                  • Kotkov

                    Right way to block google robots from ppc landing pages

                    What is the right way to completely block seo robots from my adword landing pages? Robots.txt does not work really good for that, as far I know. Adding metatags noindex nofollow on the other side will block adwords robot as well. right? Thank you very much, Serge

                    On-Page Optimization | Mar 2, 2012, 8:58 PM | Kotkov
                    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
                  • 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 - 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.