Skip to content

Instantly share code, notes, and snippets.

@tehbeard
Created September 29, 2011 14:05
Show Gist options
  • Save tehbeard/1250784 to your computer and use it in GitHub Desktop.
Save tehbeard/1250784 to your computer and use it in GitHub Desktop.
Options FollowSymLinks
RewriteEngine On
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [QSA,L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment