Kod: Zaznacz cały
<IfModule mod_php5.c>
php_value short_open_tag 1
</IfModule>
<Files ~ "^\.ht">
Order Allow,Deny
Deny From All
Satisfy All
</Files>
# Turn Off directory listing
Options -Indexes
RewriteEngine On
RewriteCond %{REQUEST_URI} /+[^\.]+$
RewriteRule ^(.+[^/])$ %{REQUEST_URI}/ [R=301,L]
# Main redirection
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?url=$1 [L,QSA]