In the .htaccess:
RewriteEngine on
RewriteCond ${REQUEST_FILENAME} !-D
RewriteRule "^((?:.*/)*[^/.]+)$" "$1.html" [NC] RewriteEngine on
RewriteCond ${REQUEST_FILENAME} !-D
RewriteRule "^((?:.*/)*[^/.]+)$" "$1.html" [NC] Options MultiViews
instead?It does seem like it might be more magic than I prefer in programming, though.