h2lsoft/Nuts-Solution/master/.htaccess - Htaccess File

h2lsoft/Nuts-Solution/master/.htaccess

Options -Indexes +Multiviews +FollowSymlinks
RewriteEngine On

## force redirection domain without www (no duplicate content for Google) ##
# RewriteCond %{HTTP_HOST} ^mydomain.com$
# RewriteRule ^(.*) http://www.mydomain.com/  [QSA,L,R=301]
###########################################################################

## lang rewriting #######################################################
RewriteRule ^(en|fr|de|es|it|ru|jp)  index.php [L]

## files type protection #######################################################

#  Protection of *.inc.php
<Files ~ ".(inc|class).php$">
    Order allow,deny
    Deny from all
</Files>

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST

Comments

Apache