K
K
ksenia_strakhova2019-11-12 18:21:10
1C-Bitrix
ksenia_strakhova, 2019-11-12 18:21:10

How to set up switching between Bitrix sites while saving the current page?

Task:
the site in Russian is in the root /
the site in English is in the folder /en/
URLs are all identical, the only difference is this.
How to correctly set a link or a condition for switching between language versions, while saving the current page? As I understand it, we need to dig in the direction of use <?=$APPLICATION->GetCurPage(); ?>
. But how exactly to prescribe the condition?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Sidorov, 2019-11-22
@serjazz

Look towards $APPLICATION->GetCurPageParam

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question