Created by Alexey ilyaskin 2015-05-07 View revision File .htaccess Added Side-by-side diff More Ignore whitespace Hide word diff +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-l +RewriteCond %{REQUEST_FILENAME} !-d +RewriteCond %{REQUEST_URI} ^(.*/[^/\.]+)$ +RewriteRule ^(.*)$ http://%{HTTP_HOST}/$1/ [R=301,L]