How to block subdomain in Robots.txt
SusanSmith subscriber Posts: 18 Bronze Level Member
edited November 2016 in Search Engine Optimization and Advertising
User-agent: * Disallow: / ================= This is how my current robots.txt file looks like. I want to block a subdomain (i.e http://subdomain.mywebsite.com) using robots.txt, I don't want even a single page of my subdomain to be indexed in Google. I added the above text to prevent my Subdomain from indexing... but it still got indexed into Google. What should I do to entirely prevent my Subdomain from Indexing.
Sign In or Register to comment.