Answer the question
In order to leave comments, you need to log in
Too smart GoogleBot, how to ban?
Hello!
On one of the sites there are buttons, by clicking on which Ajax automatically sends messages to the admin. Faced with the fact that GoogleBot clicks on these links when indexing the site and, accordingly, sends messages. I was especially surprised that by clicking on the link, the bot agrees to the scripted confirm. YandexBot, by the way, was not noticed in such a smart behavior :)
Actually, I would like to ask the experts how to prevent the bot from clicking on certain links? Just press. For nofollow and robots.txt doesn't help (it clicks but doesn't index).
Thanks in advance for your replies.
Answer the question
In order to leave comments, you need to log in
It is necessary that your "messages to the admin" are sent not by GET, but by POST requests. Google will not send POSTs
Google is impudent... it even enters support chats by clicking the button in two steps... :) and support is trying to communicate with it... I had to write special rules for it...
it is possible to forbid indexing of the part of the page located between
<!––googleoff: all-->
....
<!––googleon: all-->
Remove the URL from the link and proceed with Javascript after confirmation.
Goggle doesn't confirm confirm, it's just that you (probably) have it written like this:
<a href="/send.php" onclick="return confirm('Send?')">Send</a>
Yep, the "problem" seems to be over two years old and Google's algorithm is only getting better.
As I understand from the article on the link, you need to remove the explicit mention of urls, it can be encrypted somehow. But there is another option that the person working with the site has a google toolbar that hits all the urls. There is no getting away from this, except that on the server side, when requesting this url, determine the bot by user-agent (it seems to be not encrypted)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question