Create a gist now

Instantly share code, notes, and snippets.

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>

sdeering commented Aug 8, 2014

Have you tackled this problem with index.php?

RewriteRule (.*) index.php [L]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment