Answer the question
In order to leave comments, you need to log in
How to correctly write a .htaccess redirect when changing the site language?
Good day
There is a site in two languages (the main language is Russian and the second Ukrainian), now you need to change languages on the contrary so that the main one is Ukrainian, and Russian is already at sitename.com/ru/ The
old address sitename.com/product/productname is all you need redirect to sitename.com/ru/product/productname and sitename.com/ru/product/productname to sitename.com/product/productname
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question