Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   Search Engine Optimization (http://siteownersforums.com/forumdisplay.php?f=16)
-   -   Block all subdomains in Google search (http://siteownersforums.com/showthread.php?t=158188)

Ruby707 09-09-2015 02:46 AM

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


All times are GMT -7. The time now is 07:38 PM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.