htaccess

July 2, 2019

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} ^example.com [NC] RewriteRule ^(.*)$ […]