.htaccess 223 B

123456
  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.html
  6. RewriteRule . index.html [L]