.htaccess 246 B

12345678910
  1. <IfModule mod_rewrite.c>
  2. Options -MultiViews
  3. RewriteEngine On
  4. RewriteCond %{REQUEST_FILENAME} !-d
  5. RewriteRule ^(.+)/$ http://%{HTTP_HOST}/$1 [R=301,L]
  6. RewriteCond %{REQUEST_FILENAME} !-f
  7. RewriteRule ^ index.php [L]
  8. </IfModule>