VladislavTsyganov/www/master/.htaccess
Options -Indexes
Options +FollowSymlinks
ErrorDocument 404 /404.php
RewriteEngine On
# Подменяем uri на аналогичный uri, только со слешем в конце
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-l
#RewriteCond %{REQUEST_URI} !index.php
#RewriteCond %{REQUEST_URI} !.[^./]+$
#RewriteCond %{REQUEST_URI} !(.*)/$
#RewriteRule ^(.*)$ http://www.test1.ru/$1/ [L,R=301]
#RewriteCond %{HTTP_HOST} ^test1.ru [NC]
#RewriteRule ^(.*)$ http://www.test1.ru/$1 [L,R=301]
On Github License
Files
Download PDF of Htaccess file