← Back
Editing: htaccess
<Files ~ "^.(htaccess|htpasswd)$"> deny from all </Files> RewriteEngine on RewriteCond %{HTTP_HOST} ^(template)(:80)? [NC] RewriteRule ^(.*) http://www.template/$1 [R=301,L] order deny,allow RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*)/(.*) $2\.php?lan=$1 [QSA] RewriteRule ^(.*)/(.*)\.php $2\.php?lan=$1 [L,QSA]
Save File
Cancel