.htaccess 294 B

1234567891011
  1. RewriteEngine on
  2. #RewriteCond %{HTTPS} !^on$
  3. #RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
  4. # if a directory or a file exists, use it directly
  5. RewriteCond %{REQUEST_FILENAME} !-f
  6. RewriteCond %{REQUEST_FILENAME} !-d
  7. # otherwise forward it to index.php
  8. RewriteRule . index.php