Hello,
I am needing to create a rewrite for the following file endings to all change to .html files.
1.example.htlm
2.example.htm
3.example.HTML
All of the above examples need to change to example.html
Here is what I created but it won't work. Looking at the examples I have seen it seems like it should work.
Options +SymlinksIfOwnerMatch -Indexes -Multiviews
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_URI} ^/(.+)\.(htlm|htm|HTML)
RewriteRule ^.+$ /%1.html [L,R=301]
Please help me to get this working.
Thanks,
Randal