I need to redirect viewers that enter my website from an old URL to the new one. I am trying to do it via htaccess, but I haven’t found the key yet.
The olf url is:
www.anykindofwebsite.org/contact/
And I want it to be redirected to:
www.anykindofwebsite.org/en/contact/
I am trying with the following code with no result:
RedirectMatch 301 ^contacto/$ es/contacto/