.htaccess 385 B

1234567891011121314
  1. <IfModule mod_rewrite.c>
  2. Options -MultiViews
  3. RewriteEngine On
  4. RewriteCond %{SERVER_PORT} 80
  5. RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
  6. RewriteCond %{REQUEST_FILENAME} !-f
  7. RewriteRule ^(.*)$ index.php [QSA,L]
  8. </IfModule>
  9. <IfModule !mod_rewrite.c>
  10. <IfModule mod_alias.c>
  11. RedirectMatch 302 ^/$ /index.php/
  12. </IfModule>
  13. </IfModule>