Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (6 sloc) 214 Bytes
DirectoryIndex index.html
RewriteEngine on
RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
RewriteRule ^([A-Za-z0-9-\/]+)/?$ $1index.html [L]