How to use robots to block a website?

4 replies
  • SEO
  • |
Hi,

I want to block a entire website say example.com which has some sub domains like
ab.example.com
abc.example.com
xyz.example.com

I used the general code for blocking the entire website
User-agent: *
Disallow: /

but one of the sub domain say abc.example.com is still crawling by search engine.

How to stop that?

Need answer ASAP
#block #robots #website

Trending Topics