Last active
February 1, 2018 12:36
-
-
Save chriwo/5eb0699cced0c90c01da to your computer and use it in GitHub Desktop.
Redirect all to index.html
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 / | |
RewriteCond %{REQUEST_URI} !(\.css|\.js|\.png|\.jpg|\.gif|robots\.txt)$ [NC] | |
RewriteRule ^.*$ /index.html [L,R=301] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment