Post by Joe1234 » Mon Jul 08, 2024 7:00 pm

Is it possible to rate limit the whole site (How quickly an IP/session can navigate to another page) since bots don't always listen to the rules? How would I go about that?
Last edited by Joe1234 on Sat Jul 13, 2024 8:57 am, edited 1 time in total.

v3.0.3.9 php 8.1
I'm here for a reason, if your response is contact a/the developer, just don't reply.


Active Member

Posts

Joined
Sat Jan 01, 2022 5:47 am

Post by JNeuhoff » Mon Jul 08, 2024 7:45 pm

Just block all those nasty bots. A good staring point would be this list for your '.htaccess'.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by paulfeakins » Mon Jul 08, 2024 9:23 pm

Joe1234 wrote:
Mon Jul 08, 2024 7:00 pm
Is it possible to rate limit the whole site (How quickly an IP/session can navigate to another page) since bots don't always listen to the rules? How would I go about that?
You could use Cloudflare?

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by nonnedelectari » Tue Jul 09, 2024 2:12 pm

JNeuhoff wrote:
Mon Jul 08, 2024 7:45 pm
Just block all those nasty bots. A good staring point would be this list for your '.htaccess'.
Which would only block those bots which actually identify themselves as such, of which 90% will never visit you site, and are therefor the least of your bot concerns. Mind, htaccess, if enabled, will be read on every request, uncached.

New member
Online

Posts

Joined
Thu Mar 04, 2021 6:34 pm

Post by Joe1234 » Sat Jul 13, 2024 8:53 am

It seems putting together a rate limiter wasn't hard at all.

I try to shy away from using htaccess when I don't absolutely need to, especially due to its recursive nature and how it's read (or at least how I understand it is read), and with how out of control and big it can get...and putting all those agents in it is definitely one way. I used to have a large deny list of them in it, and noticed when I removed them the TTFB speed improved.

Either way, I'm testing it out now to find the best settings to see if I should keep it the way I did it, or code it a different way.

v3.0.3.9 php 8.1
I'm here for a reason, if your response is contact a/the developer, just don't reply.


Active Member

Posts

Joined
Sat Jan 01, 2022 5:47 am

Post by johnp » Sun Jul 14, 2024 12:12 am


Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk


User avatar
Active Member

Posts

Joined
Fri Mar 25, 2011 10:25 am
Location - Surrey, UK
Who is online

Users browsing this forum: nonnedelectari and 19 guests