Htaccess File

pkht/PKHT/master/.htaccess

HTTP_HOST, REQUEST_FILENAME
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
Exit mobile version