That sounds like it would do the job. But I am entirely new to the world of .htaccess and what looks like fiendish redirect syntax. I found this on the web to remove a index.html prefix:
# redirect to remove "index.html" prefixes from requested URLs
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.html/.
Rewriterule ^index\.html/(.+)$
www.example.com/$1 [L,R=301]
So, I would want someting similar to that I guess - do I replace
www.example.com in the above with my own site url?
Any how to remove the trailing .html from the old url?
Thanks for any help