RewriteCond %{REQUEST_URI} \..+$
  RewriteCond %{REQUEST_URI} !\.html$
  RewriteRule .* - [L]
link|improve this question

12% accept rate
feedback

1 Answer

It looks like:

  • if the URL ends in an extension (dot-something)
  • that's not ".html"
  • don't change it, but stop processing
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.