terrylinooo / shieldon

Web Application Firewall (WAF) for PHP.
https://shieldon.io
MIT License
849 stars 98 forks source link

How to enable or white list google bots? #20

Closed darjus01 closed 4 years ago

darjus01 commented 4 years ago

Hi, I accedently block out google bosts crawler. how to whitelist it? I tried to use Firewall > Components > Trusted Bots. but it not enabling after save. I find no instructions how to manage this. Please help ASAP.

terrylinooo commented 4 years ago

Hello. You have to make sure the folder in where the configuration file is writable, or the saving setting will not work.

To whitelist Google bot is here. image

darjus01 commented 4 years ago

I have checked config file "trusted_bot":{"enable":true,"strict_mode":false,"allow_list":[]} but is off image

terrylinooo commented 4 years ago

What version are you using?

darjus01 commented 4 years ago

"shieldon/shieldon": "^1.0",

terrylinooo commented 4 years ago

Try to update Shieldon to 1.0.3 might be helpful.

 composer update shieldon/shieldon
darjus01 commented 4 years ago

updated it and resaved it saved, I have here lots of google clawlers blocked I need to delte it by and or it will onblock them? image

terrylinooo commented 4 years ago

You can reset the data by clicking the button as below screenshot and start a new data circle.

image