Answer the question
In order to leave comments, you need to log in
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.
How to set up sorting correctly?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question