Mobile app version of vmapp.org
Login or Join
Frith620

: How do i tell google to ignore my subdomain? I did a search and i found a link to my site... twice. They are exactly the same except one is www and the other is static. How do i tell

@Frith620

Posted in: #GoogleSearch #Subdomain

I did a search and i found a link to my site... twice. They are exactly the same except one is www and the other is static. How do i tell google to ignore everything in my static domain?

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Frith620

3 Comments

Sorted by latest first Latest Oldest Best

 

@Welton855

If your site is served with apache, you can use mod_rewrite to serve a custom robots.txt depending upon the HTTP_HOST variable.

10% popularity Vote Up Vote Down


 

@Sent6035632

In your DNS control panel, enable only www to point to your site. You most likely have your DNS settings configured to use * wildcard subdomains.

10% popularity Vote Up Vote Down


 

@Samaraweera270

Upload a robots.txt file to the root of the static subdomain. This can block all web spiders including the Googlebot.

You can find instructions on how to format and configure your robots.txt file here:

www.robotstxt.org/robotstxt.html

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme