A
A
agromov912022-03-02 18:01:17
1C-Bitrix
agromov91, 2022-03-02 18:01:17

How to redirect to the English version of the site?

There are two sites on one license. Basic Russian and additional in the /en folder.
How can /en be made primary, or at least redirected to /en when accessing the primary version?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2022-03-03
@idruweb

if SITE_ID=='ru' then redirect to 'en'

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question