Mobile app version of vmapp.org
Login or Join
BetL925

: Does a "Disallow:" rule with nothing following it in robots.txt block my entire domain? If my website's robots.txt has the following code, does that mean my entire site is being blocked from

@BetL925

Posted in: #RobotsTxt

If my website's robots.txt has the following code, does that mean my entire site is being blocked from indexing, or do I need to append the code with a /?

User-Agent: *
Disallow:

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @BetL925

1 Comments

Sorted by latest first Latest Oldest Best

 

@Hamaas447

The rule as you have it up there allows all user agents to access everything. If you wanted to block all user agents from accessing anything, you would add the forward slash:

User-Agent: *
Disallow: /

The forward slash stands for your root directory. This command disallows all user agents from accessing your root directory or anything that it contains - which is everything.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme