I'm helping a client migrate an old site which used .html extension at the end of the web address to a properly named URL structure. I want to do a redirect for all URLs that end in .html to the homepage.
I tried this but it didn't work:
RewriteRule ^(.*)\.html$ $1http://domain.org [NC]