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.

    • MozCon

      Save on Early Bird tickets and join us in London or New York City

    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

                  • Viktoriia1805

                    The particular page cannot be indexed by Google

                    indexing googlesearchconsole onpage

                    Hello, Smart People!
                    We need help solving the problem with Google indexing.
                    All pages of our website are crawled and indexed. All pages, including those mentioned, meet Google requirements and can be indexed. However, only this page is still not indexed.
                    Robots.txt is not blocking it.
                    We do not have a tag "nofollow"
                    We have it in the sitemap file.
                    We have internal links for this page from indexed pages.
                    We requested indexing many times, and it is still grey.
                    The page was established one year ago.
                    We are open to any suggestions or guidance you may have. What else can we do to expedite the indexing process?

                    On-Page Optimization | Aug 28, 2024, 11:19 AM | Viktoriia1805
                    1
                  • gaben

                    How does Google handle read more tags in Wordpress

                    Hi Everyone I am wondering how Google handles the read more tag in Wordpress. I pasted the link to a blog post on Google and found nothing (domain.com/post#readmore). Then I paste the version without #readmore (domain.com/post) and found that Google indexed the page but with the option to click "read more" to read it. The full blog post is not in their index, just the version asking you to read more. Is this because Google hasn't gotten to it or is Google ignoring it. I am not sure but ideally I rather have the full blog post indexed, not the read more version. I am curious to whether this will cause duplicate content issues. What are your experience with this and is it advisable to use an alternate method for read more. Maybe with a Wordpress plugin. Thanks in advance.

                    On-Page Optimization | Oct 17, 2016, 8:28 PM | gaben
                    0
                  • neilhenderson

                    Does hover over content index well

                    i notice increasing cases of portfolio style boxes on site designs (especially wordpress templates) where you have an image and text appears after hover over (sorry for my basic terminology).  does this text which appears after hover over have much search engine value or as it doesnt immediately appear on pageload does it carry slightly less weight like tabbed content?   any advice appreciated thanks neil

                    On-Page Optimization | Dec 18, 2015, 8:43 PM | neilhenderson
                    0
                  • kevinbp

                    My main domain is missing in google, subdomain appears instead.

                    I have two SEO optimised pages in my website targeting different keywords www.example.com                 <-- main selling page (Pocket Guitar | Guitar Instruments)
                    www.example.com/index/       <-- 2nd selling page (Guitar Australia | Guitar Perth) Q: At first my website "www.example.com" is ranking on google first page. Suddenly it disappears and the link "www.example.com/index/" appears instead. No matter what i search, "Pocket Guitar | Guitar Instruments | Guitar Australia | Guitar Perth", the link www.example.com/index/ appears on the front page instead of www.example.com. What is happening to my main domain? Should i be worried?

                    On-Page Optimization | Jan 11, 2015, 11:27 AM | kevinbp
                    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
                  • 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
                  • AJPro

                    Reducing number crawl-able links?

                    Hello, I just like to ask for best practice when it comes to reduce number of internal links on a site with a mega menu. Since the mega menu lists all categories and all their subcategories it creates a problem when all categories are linking to all categories directly.. Would the method below reduce the number of links and preventing the link juice flowing directly from category to category? [(link built with JavaScript and the html5 "data-" attribute) Thinking of using these links to categories in the menu not directly below the parent category.](#)

                    On-Page Optimization | May 16, 2013, 5:25 AM | AJPro
                    0
                  • Jason_342

                    How long does it take for Google to see Changes to a site?

                    Hi, I have a low PR site (PR 1) that I am starting to work on.  Ingeneral when you make changes to my site how long would it take Google to recognize and index those changes? The reason I am wondering is because the site I am working on had a lot of duplicate content (around 700 pages), I got rid of it all, but I wasn't sure how long it would take Google to spider all these pages and re-index them since the site is low PR. Thanks, Ken

                    On-Page Optimization | Mar 7, 2012, 7:42 PM | Jason_342
                    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.