I have 50 files on a website, but only want 3 of them to redirect to .html, so I cannot do a redirect all to .html.
Here is one of them.
I want to redirect that to test.com/master.html
I tried this, but it keeps clocking on the page:
I also tried this:Code:
RewriteRule ^/test http://www.mysite.com/test.html [R=301,L]
RewriteRule ^/test$ http://www.mysite.com/test.html [R=301,L]
RewriteRule ^/test!\.html$ http://www.teachhub.com/test.html [R=301,L]