Hello,
In my robots.txt file I have a list of robots that are not allowed to be indexed on my site and for the rest I have to allow all other robots, but I would like to know the real difference between these two rules:
The meaning of first one is allow the all crawlers to read and index the web site. The second one is not allow the all crawlers to read and index the web site. denote the all crawlers.
Thanks,
Off Page SEO
is correctly formed and allows all bots (denoted by *) access to all areas of the site. i.e. there are no directories listed as disallowed. The second one, as Stevie D has already explained, is incorrect as there is no provision to “allow” in robots.txt.
No, they are not the same. “Allow” is not a valid option, so if you want your robots.txt file to be correctly implemented, you need to use the correct syntax.