My robots file doesn't work

clipboard.png
this is the robots I generated with the love station tool. Txt file, detection shows that the rule is invalid, what is the reason

Php
Jul.13,2021
If

forbids, all you need is the sentence Disallow: / . The following rules are not necessary, and second, there is no need to copy the whole paragraph of URL. After all, you are writing rules. Find the sitemap of the last one yourself.
in addition, robots.txt is only a gentleman's agreement and can not actually prevent the spider from grabbing. If there are conditions, it is better to use UA as a judgment condition to stop it, which will be more effective. Robots.txt, I think it's better to guide than to stop.


Don't take it for granted. Your robots.txt syntax is completely wrong. Refer to the trusted grammar document http://www.robotstxt.org/robo.

.
Menu