View Single Post
Old 09-09-2015, 02:46 AM   #1
Ruby707
Registered User
 
Join Date: Sep 2014
Posts: 650
Block all subdomains in Google search

I have a website-domain.com & it has many sub-domains like sub.domain.com, sub1.domain.com, etc. I don't want the subdomains to be indexed & crawled in Google.

I have added robots.txt file in each subdomain: User-agent: *
Disallow: /

It was still showing in google when searched for domain.com.

I had to add each subdomain in Google webmasters tool & used the remove URL setting.

Is there any other method wherein it won't be necessary to add subdomain each time in webmasters tools?

Please guide.
Mobile App Developer usa | Game Developer usa | Mobile Application Development Firm
Ruby707 is offline   Reply With Quote