Add a (disabled by default) .htaccess file to block out robots and other link scanning agents.

This commit is contained in:
squarefractal 2016-02-16 17:36:28 +05:30
parent 59d2b6f9fc
commit b90260a0e1

3
.htaccess.disabled Normal file
View file

@ -0,0 +1,3 @@
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} ^.*(bot|spider|crawl|https?://|WhatsApp|SkypeUriPreview) [NC]
RewriteRule .* - [R=403,L]