WP Security Ninja

Product details
martin651martin651
martin651PLUS
Apr 30, 2024

Q: I just set it up and now it is blocking the facebook bot which checks if ads are linked correctly.

as their ips change during requests I don't know how to fix that.

Founder Team
Lars_Koudal

Lars_Koudal

May 15, 2024

A: Hello @martin651

Thank you for trying us out and sorry to hear about that - we have not seen that problem in our tests. Can you give a bit more detail from the Events log that could identify the IP and user agent? We want to verify the reason the bot got blocked so we can whitelist their bots the proper way.

Feel free to send this information via our contact support page - https://wpsecurityninja.com/help/

We have already have code implements that verifies legit crawlers/bots from Google, Apple, Yahoo, Baidu and more, but Facebook seems to just use their User agent to identify their bot, so we want to make sure we can block false requests correctly.

Share
Helpful?
Log in to join the conversation

Hello, the reason was that it was blocked because of a query string. the query string basically was just ?coupon=testcoupon. which was added so that a coupon can be automatically applied. Unknown query parameters could always happen, but I didn't see any chance to whitelist the query string.

Hello martin651 - thank you for the details, we will verify and fix this. For now the only way you could prevent this would be to temporarily disable the "Block Suspicious Page Requests". It is a good idea at the same time to integrate a filter that you can use to disable specific things.

Related questions
View product details