I need to redirect all files with extension .html to the same location without the .html extension. No matter what location it’s requested from For example:
/file1.html—>http:///mysite.com/file1//file2.html—>http:///mysite.com/file2//file3.html—>http:///mysite.com/file3//file4.html—>http:///mysite.com/file4/
Thank you.
Try adding the following to the
.htaccessfile in the root directory of your site.