A
A
Anton Parkhomenko2018-11-13 16:32:54
MODX
Anton Parkhomenko, 2018-11-13 16:32:54

How to set up a transition from the RU version of the site to EN in ModX Revo?

Good afternoon.
Please tell me how to properly configure the transition from the RU version of the site to EN?
Two sites on the domains ru and com. There is a switch with a link of the form https://site.ru/for the ru site and https://site.ru/for the en site.
This redirect works on all pages except the home page. If you switch to the main page, then a transition will occur, but in the address bar there will be such a url https://site.ru/https://site.com/. How to fix this error - I will not apply my mind ((

Answer the question

In order to leave comments, you need to log in

2 answer(s)
H
hetzerok, 2018-11-13
@Astrawelt

If the main page has id=1

https://site.ru/`:else=

S
Sanes, 2018-11-13
@Sanes

<base href="/">try

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question