Need a quick .sql file to create a list of all languages of the world, but don’t want to type them all in from Wikipedia? Here is the solution!
settingsLanguages.sql (this is in a .zip file to ensure that it can be downloaded through browser security settings)
How to select rows from a table where a field contents are all in UPPERCASE
fieldName REGEXP BINARY ‘^[A-Z]+$’
My site is being absolutely bombarded by page requests originating from semrush.com. Its a bot that is indexing and downloading links to my entire site, which would be fine if it were a small website, except that I have content going back to 1996, which is rather a lot, and they are hitting the server with so many requests that Apache2 and/or MySQL Server 5.7 is crashing.
It’s utterly frustrating, and they have taken the site down 3 times in the past couple of hours. Their bot should be rate-limited so that it doesn’t cause issues like this! The site can cope with 100+ simultaneous visitors as it is running on an AWS T3 micro instance, which should be more than capable, but unfortunately, its not capable of dealing with the SEMrush bot.
In the coming hours I will be working on ways to permanently blacklist their services, and I suggest that other website owners do the same so that the same misfortune does not befall their site too.