Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
.htaccess for HTML5 Pushstate support
<ifModule mod_rewrite.c>
Options +FollowSymLinks
IndexIgnore */*
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.html
</ifModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment