on-internet
← Community

How to use * wildcard character in robots.txt files?

Stack Overflow ·

My website is crawled high frequently. I have robots.txt is below: User-agent: * Allow: .htm$ Disallow: /*?* Disallow: /mls.php?* but 'Googlebot 2' doesn't obey the robots rules. The following is a log snappet: 2023-11-03 06:46:47.856 PDT GET 200 6.62KB 433 ms Googlebot 2 https://vanfangchan.com/mls.php?mls=1355081&lang=zh_s Does my robots.txt is right, and anyone know that 'Googlebot 2' is owned by Google?

Comments

Sign in or sign up to comment and upvote.

No comments yet.