I have few urls (e.g. helloworld.com/test-1-xyz.html, helloworld.com/test-1-abc.html)which needs to be redirected to a single url (helloworld.com/test-1-contact.html)
So far, I have done this
RewriteRule ^test-1-(.*)$ contact.html [NC,L,R=301]
but it is not working. any idea what's wrong with my code?
2.1m questions
2.1m answers
60 comments
57.0k users