Htaccess tips and tricks
Block IP: <RequireAll> Require all granted Require not ip 1.2.3.4 </RequireAll> Force www, or non www, redirect. #Force www: RewriteEngine on RewriteCond %{HTTP_HOST} ^examplecom RewriteRule ^(.*)$ http://www.examplecom/$1 #Force www: #Force…