S
S
strify_252020-08-04 18:07:42
1C-Bitrix
strify_25, 2020-08-04 18:07:42

How to sort sites correctly when Bitrix is ​​multi-site?

Hello. There are 5 sites working on multisite in Bitrix. The main site is site.ru. When developing other sites, subdomains of this site were used and there were no problems. After that, working domains were connected, namely site1.ru and its subdomains - authorization began to be required on all pages of all sites (except for the main site.ru). In the site settings, the path to the root folders is correct. It turned out that the SITE_ID constant is incorrectly defined on all sites. We set the sorting of the site1.ru site more than the sorting of subdomains, but less than the main site - this site worked, the site with the smallest sorting (1) also worked. at the same time, on sites with sorting 2 and 4, authorization is still required and the SITE_ID constant there is equal to s4 - the smallest site.

5f297982b52ae630107785.jpeg

How to set up sorting correctly?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey, 2020-08-05
@Alexeymgs

less for a subdomain than for a domain.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question