Created
October 15, 2019 18:11
-
-
Save williamsiuhang/0baee301b1924c44ab654aac86508234 to your computer and use it in GitHub Desktop.
Apache .htaccess to fix 404 issue with React Router client routing
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
Options -MultiViews | |
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteRule ^ index.html [QSA,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment