Skip to content

Instantly share code, notes, and snippets.

@Shaxadhere
Created November 15, 2022 14:26
Show Gist options
  • Save Shaxadhere/054b7e0bc4b1f75b6f519f5864bfa3d8 to your computer and use it in GitHub Desktop.
Save Shaxadhere/054b7e0bc4b1f75b6f519f5864bfa3d8 to your computer and use it in GitHub Desktop.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.html$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule . /index.html [L]
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment