Created
June 1, 2021 06:10
-
-
Save 6ui11em/cc7a6f299406fdd54a017cfd528e0a1b to your computer and use it in GitHub Desktop.
.htaccess: Redirect all to index.html #htaccess #redirect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index.html$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /index.html [L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment