Releasing .htaccess Punk—a Quick Helper to Check Redirects in .htaccess Files:

Have you checked your .htaccess on broken redirects today?

https://meiert.com/blog/htaccess-punk/

#webdev #quality #htaccess #redirects

Releasing .htaccess Punk—a Quick Helper to Check Redirects in .htaccess Files · Jens Oliver Meiert

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/

[Note] Blocking Empty UA Outside of Feed Requests

I borrowed a solution from a Stack Overflow answer for blocking requests from empty UA in my WordPress site’s .htaccess file, exempting requests for feed.

The Emu Café Social

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.

https://kulturbanause.de/blog/performance-optimierung-gzip-caching-expires-header-etc-mit-hilfe-der-htaccess/

☕ 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

XAMPP’te .htaccess’in çalışmaması şaşırtıcı değil ama yine de insanı her seferinde yakalıyor. mod_rewrite + AllowOverride All + restart… küçük ama kritik döngü. Rehberi görsellerle toparladım:
https://yuceltoluyag.github.io/xampp-htaccess-aktif-etmek/
#WebDev #XAMPP #Htaccess
XAMPP Üzerinde .htaccess Dosyasını Aktif Etmek (Resimli Anlatım)

XAMPP kullanırken SEO, yönlendirme veya özel hata sayfaları gibi ayarlar için .htaccess dosyasını nasıl aktif edeceğinizi adım adım (ve resimli) öğrenin.

Ortaya Karışık
GitHub - ai-robots-txt/ai.robots.txt: A list of AI agents and robots to block. https://github.com/ai-robots-txt/ai.robots.txt #OpenSource #robots.txt #htaccess #haproxy #Apache #GitHub #block #caddy #nginx #AI

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/

#firewall #webmaster #htaccess

8G Firewall | Perishable Press

After more than a year of beta testing, 8G Firewall is ready for use on production sites. So you can benefit from the powerful protection provided by the...

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, ....

#apache #litespeed #htaccess #crawlers #botfarms

https://codeberg.org/skewray/htaccess

htaccess

Keeping AI companies from copyright-violating a website for LLM training is difficult, but not impossible. I got pretty far using Apache .htaccess.

Codeberg.org