Allow visitors only from Israel and allow search engine bots from any country?

What is the name of the domain?

netoneto.co.il

What is the issue you’re encountering

How to allow visitors only from Israel and allow search engine bots from any country?

What is the current SSL/TLS setting?

Full

Switch that to Full Strict. You currently have no proper encryption and an insecure site.

Block

(ip.geoip.country ne "IL" and not cf.client.bot)
2 Likes

No This does not help, It is still receiving external bots and making the site crash with 503 error.
When i switch that to Full strict, the site is not working at all.

This most likely indicates that you need to replace an invalid certificate on your origin server.

As for the

see this guide:

Then you need to fix the server first. Right now you simply have no real encryption whatsoever. Pause Cloudflare for starters.

That is not related to the rule. And yes, the rule very much does what you asked for.

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.