A
A
alex steel2021-01-14 12:00:47
WordPress
alex steel, 2021-01-14 12:00:47

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 question

Ask a Question

731 491 924 answers to any question