I have way too many hits on my site, most of them have shoppingcart.php and a session id. IT's probably AI crawlers.
When I look at who's online I see around 3000 hits.
I have decided to install google reCAPTCHA.
No I need to enter the key script in the header.
Which file shoul I use? Would that be template_top.html in the template that I use?
Please advise. TY.
Way too many hits....
- burt
- Core Team
- Posts: 4911
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy A Coffee
- Has thanked: 296 times
- Been thanked: 494 times
Re: Way too many hits....
@ReneH4 Rene, Cloudflare is, I think, the accepted answer.
See https://phoenixcart.org/forum/viewtopic.php?f=43&t=3432
See https://phoenixcart.org/forum/viewtopic.php?f=43&t=3432
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
- BrockleyJohn
- Certified Developer
- Posts: 162
- Joined: Mon Mar 01, 2021 5:37 pm
- Phoenix Version: too.ashamed.to.say
- : Buy A Coffee
- Has thanked: 2 times
- Been thanked: 41 times
Re: Way too many hits....
Google reCAPTCHA doesn't block users, it just assesses whether they are bots or not.
To block them you need a WAF (firewall) like cloudflare or an alternative.
Some hosts like 20i have a decent WAF built into the hosting that filters out a lot of the nonsense.
To block them you need a WAF (firewall) like cloudflare or an alternative.
Some hosts like 20i have a decent WAF built into the hosting that filters out a lot of the nonsense.
-
14Steve14
- 500+
- Posts: 901
- Joined: Fri Oct 25, 2019 7:01 pm
- Phoenix Version: v1.0.9.1
- Has thanked: 19 times
- Been thanked: 113 times
Re: Way too many hits....
We have had great success using the perishable press 8g firewall with no detrimental effect on the website. Find it at https://perishablepress.com/8g-firewall/. They do also have a black hole for bots which looks interesting but we have never tried it.
We tried Cloudflare a while ago and had so many problems with the free version we ditched it and updated to the above firewall instead.
We tried Cloudflare a while ago and had so many problems with the free version we ditched it and updated to the above firewall instead.
-
radhavallabh
- 100+
- Posts: 360
- Joined: Tue Oct 27, 2020 4:09 am
- Phoenix Version: 1.1.0.6
- Has thanked: 31 times
- Been thanked: 3 times
Re: Way too many hits....
Hi dear; Is this applied on htaccess? I have a shared host will it work please??14Steve14 wrote: ↑Thu Oct 29, 2026 11:26 am We have had great success using the perishable press 8g firewall with no detrimental effect on the website. Find it at https://perishablepress.com/8g-firewall/. They do also have a black hole for bots which looks interesting but we have never tried it.
We tried Cloudflare a while ago and had so many problems with the free version we ditched it and updated to the above firewall instead.
Thank you in advance;
Warm Regds./
radhavallabh
-
14Steve14
- 500+
- Posts: 901
- Joined: Fri Oct 25, 2019 7:01 pm
- Phoenix Version: v1.0.9.1
- Has thanked: 19 times
- Been thanked: 113 times
Re: Way too many hits....
As far as I can remember its all in the htaccess file. They also do an AI bots block script but you may want certain AI bots to visit your site so be carefully. There is also a bot blackhole which may stop a lot of the hits. Have a look around their website.radhavallabh wrote: ↑Fri Oct 30, 2026 5:20 amHi dear; Is this applied on htaccess? I have a shared host will it work please??14Steve14 wrote: ↑Thu Oct 29, 2026 11:26 am We have had great success using the perishable press 8g firewall with no detrimental effect on the website. Find it at https://perishablepress.com/8g-firewall/. They do also have a black hole for bots which looks interesting but we have never tried it.
We tried Cloudflare a while ago and had so many problems with the free version we ditched it and updated to the above firewall instead.
Thank you in advance;
Warm Regds./
radhavallabh
