dram1008/bogdan/master/public_html/.htaccess - Htaccess File

dram1008/bogdan/master/public_html/.htaccess

AddDefaultCharset utf-8
AddType 'text/html; charset=utf-8' .html .htm .shtml

RewriteEngine on

RewriteCond %{HTTP_HOST} ^bog-dan.com
RewriteRule (.*) http://www.bog-dan.com/$1 [R=301,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# Otherwise forward the request to index.php
RewriteRule . index.php

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, REQUEST_FILENAME

Comments

Apache