I want my site to be indexed in search engines except few sub-directories. Following are my robots.txt
settings:
robots.txt
in the root directory
User-agent: *
Allow: /
Separate robots.txt
in the sub-directory (to be excluded)
User-agent: *
Disallow: /
Is it the correct way or the root directory rule will override the sub-directory rule?