How do I remove subdomains from Google search?
 by Casey Markee

How do I remove subdomains from Google search?

  • I manage a site with dozens of subdomains and my client wants them removed from the search results. I removed the main site but none of the subdomains budged. What do I need to do to get all of these subdomains out of Google's search results?

Answer: Unfortunately, we don't have an easy fix for you. Google views domains and subdomains as completely unique sites in many aspects. One such area is in how they treat and process URL removal requests from their index.

For you to remove each of these subdomains from Google search you have to first verify them each in Google Webmasters Tools, then remove them individually. Since each subdomain has its own document root you also will have to ensure that each subdomain's robots.txt file disallows its related subdomain completely.

According to the Google Webmasters Guidelines, site owners must do the following before submitting a removal request on domains and subdomains:

"To remove a directory or your entire site, you must ensure that the pages you want to remove have been blocked using a robots.txt file. Returning a 404 isn't enough, because it's possible for a directory to return a 404 status code, but still serve out files underneath it. Using robots.txt to block a directory ensures that all of its children are disallowed as well."

Thus, to prevent robots from crawling your site, add the following directive to your robots.txt file for each target subdomain:

User-agent: *

Already a member? Sign in here

Read the rest of this article,
and get all this for only $1.

  • The Search Engine Strategies Updates for April 2021
  • SEN's Monthly Marketing Podcast for Strategies on the Go
  • Ultimate Guide to Avoiding Google Penalties
  • The Complete Site Audit Checklist
  • The Definitive Local Search Audit Checklist
  • 100's of Strategic SEO Articles and Q&As
  • The Internet Marketing Glossary
  • The Pro SEO's Local Search Directory List
  • 2019 Unfair Advantage SEO Beginner's Book
  • Pro's Ultimate WordPress Plugin Guide
  • The Vault: SEN's Internet Marketing Research Libraries
  • PLUS, as a Full SEN Basic Member, you'll be eligible for hundreds of dollars of discounts on SEO courses ranging from beginner to master on a variety of topics including organic search, local search, and social networking.

  • Your $1 Trial is good for 7 days at which time your card will be charged $29/mo unless you cancel before April 18th, 2021

 This form is encrypted for your security