Hello:
I need to remove .html extension from de URL, now I am using this configuration
Include conf/rewrites.txt
Include conf/redirects.conf
rewrite.txt
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.html [NC,L]
redirect.conf
Redirect 301 "/en" "/"
This works when i put in url myweb.com/terms but when i put myweb.com/terms.html do not remove de .html extensionn also the redirects stop working
is there a way to remove the extension in both cases?
Thanks
------------------------------
Luis Tejeda Alcolea
------------------------------