P
P
Pavel Sidorov2020-03-03 23:38:24
1C-Bitrix
Pavel Sidorov, 2020-03-03 23:38:24

How to configure the NC of a component for multi-site folders?

Good day.

Tell me please. How to properly configure the CNC in a component with multi-site folders.

CNC directory (relative to the site root): #SITE_DIR#/services/ - builds the correct path, but does not fall into the detail.

CNC directory (relative to the site root): ={SITE_DIR."/services/"} - builds the correct path, but gives out 404

I can substitute the site folder and everything will work, but I may not know it in certain situations

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mikhail, 2020-03-04
@RuComMarket

in general, with multi-site, if the server is built correctly, there should not be any troubles, but try to remove #SITE_DIR# in the settings and leave the relative link /services/

A
Anton, 2020-03-04
@anton99zel

Is the path to the root folder of the web server for this site specified in the site settings ?
urlrewrite for each site created?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question