Post #3205608
2024-03-28 14:29 UTC
Running a little static HTML/CSS only site can be hard sometimes. Especially with all the bots out there scrapping for PHP and XML, etc ...
Why not send them on a journey?
LOL
# send requests to specific file types (i.e. php) somewhere else
#
RewriteCond %{THE_REQUEST} ^\w+\ /(.*)\.php(\?.*)?\ HTTP/
RewriteRule ^ https://www.youtube.com/watch?v=dQw4w9WgXcQ [R=301]
Replies (0)
No replies.