9 lines
220B

  1. RewriteEngine on
  2. # if a directory or a file exists, use the request directly
  3. RewriteCond %{REQUEST_FILENAME} !-f
  4. RewriteCond %{REQUEST_FILENAME} !-d
  5. # otherwise forward the request to index.php
  6. RewriteRule . index.php