Skip to content

Instantly share code, notes, and snippets.

@chadspencer
Created February 1, 2010 22:11
Show Gist options
  • Save chadspencer/292085 to your computer and use it in GitHub Desktop.
Save chadspencer/292085 to your computer and use it in GitHub Desktop.
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_fileNAME} !-d
RewriteCond %{REQUEST_fileNAME} !-f
RewriteRule ^(([^/]+/)*[^./]+)$ /$1.html [L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment