Releasing .htaccess Punk—a Quick Helper to Check Redirects in .htaccess Files:
Have you checked your .htaccess on broken redirects today?
Releasing .htaccess Punk—a Quick Helper to Check Redirects in .htaccess Files:
Have you checked your .htaccess on broken redirects today?
Blocking Empty UA Outside of Feed Requests
I wanted to add an htaccess rule to NLJ blocking requests from empty user agents (and "-" user agengs). I looked into the best way to do it and found a 2017 answer on Stack Overflow. This solution is interesting because it explicitly allows requests to the site's feed. While I have not noticed empty user agent requests for our feeds, there are many niche feed readers out there, so I went with a modified version of this snippet to be on the safe side.https://social.emucafe.org/naferrell/blocking-empty-ua-outside-feed-02-04-26/
Performance-Optimierung (GZIP, Caching, Expires Header etc.) mit Hilfe der .htaccess
In diesem Beitrag findet ihr eine Vorlage für die .htaccess-Datei, mit der die Performance einer Website verbessert werden kann.☕ Fresh updates for all of my #books now available ⚡ New versions feature many improvements, including updated links, new resources, better formatting, and more. As always, book owners can download the latest versions and all extras for FREE 😎 https://books.perishablepress.com/ #WordPress #webdev #htaccess #sql
📖 .htaccess made easy
📖 Digging Into WordPress
📖 The Tao of WordPress
📖 Wizard’s SQL Recipes
📖 WordPress Themes In Depth
Now I've updated my .htaccess with the "8G firewall" setup. Results to be seen in a month; I'd expect a lot of these to disappear.
https://perishablepress.com/8g-firewall/
I have a recent project to stop (LLM training) crawlers from copyright-thefting my website. I find these bots with either a hidden-link tarpit or by looking for single access events (no css), which I then ban if they come from a cloud server. So far I have learned:
• Amazon AWS, Google Cloud, Microsoft Azure, and Chinese telecom companies are pretty easy to block. These were the early heavy hitters.
• Huawei has little cloud server farms all over the world. I seem to still find about one a day.
• Some mysterious entity rents servers all over the world and crawls by sniping one page at a time. The snipes come in clusters, so all these bots are running the same crawler, with some but not complete inter-communication. Popular cloud companies are OVH Cloud, EGI Hosting, Web2Objects, Host Royale, Digital Ocean, Cloud Innovation, ....