pkht/PKHT/master/.htaccess - Htaccess File

pkht/PKHT/master/.htaccess

Options -Indexes

<files wp-config.php>
    order allow,deny
    deny from all
</files>

<files ~ "^.*.([Hh][Tt][Aa])">
    order allow,deny
    deny from all
    satisfy all
</files>

# BEGIN WordPress
<IfModule mod_rewrite.c>

Options +FollowSymlinks
RewriteEngine On

rewritecond %{HTTP_HOST} commentarybox.pkht.co.uk [NC]
rewriterule ^(.*)$ http://www.pkht.co.uk/$1 [L,R=301] 

#RewriteBase /www.pkht.co.uk/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

</IfModule>

# END WordPress

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, REQUEST_FILENAME

Comments

Apache