HealthStaffTraining/healthstafftraining/master/.htaccess - Htaccess File

HealthStaffTraining/healthstafftraining/master/.htaccess

#Force non-www:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.healthstafftraining.com [NC]
RewriteRule ^(.*)$ http://healthstafftraining.com/$1 [L,R=301]

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

## SITE REFERRER BANNING
RewriteCond %{HTTP_REFERER} semalt.com [NC,OR]
RewriteCond %{HTTP_REFERER} buttons-for-website.com [NC,OR]
RewriteCond %{HTTP_REFERER} seoanalyses.com [NC]
RewriteRule .* - [F]

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, HTTP_REFERER, REQUEST_FILENAME

Comments

Apache