Created
May 19, 2017 14:38
-
-
Save mariojankovic/c396590d11aeac0eb8dd4372be749ff6 to your computer and use it in GitHub Desktop.
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
<ifModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !\.(js|css|gif|jpg|jpeg|png|ico|swf|pdf|html|php|json|svg)$ | |
RewriteCond %{REQUEST_URI} !^index | |
RewriteRule (.*) index.html [L] | |
</ifModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Implemented it (lines 2 to 5 only) and voilà ... I can now reload all pages without crashing and jump directly to bookemarked URLs.
Thank's a lot!