A
A
ArtemPopon2020-03-07 16:56:33
1C-Bitrix
ArtemPopon, 2020-03-07 16:56:33

Why does it show a site map when I go to one of the catalog sections?

There are two sites (multi-site on different domains), they have a common catalog of goods. When creating and displaying a new directory section on the first site, everything works fine, but on the second, when you click on the link, it gives out a site map.
Infoblock:
#SITE_DIR#/catalog/#IBLOCK_CODE#
#SITE_DIR#/catalog/#IBLOCK_CODE#/#SECTION_CODE_PATH#/
#SITE_DIR#/catalog/#IBLOCK_CODE#/#SECTION_CODE_PATH#/#ELEMENT_CODE#/

Directory:
#SECTION_CODE_PATH#/
# SECTION_CODE_PATH#/#ELEMENT_CODE#/

Thanks in advance

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Aliy Kunashev, 2020-03-07
@ArtemPopon

The settings from the infoblock work if the addressing rules are not set in the component.
Check the paths in the parameters of the directory output components on the first and second sites. Bring it into line with the actual structure.
And the answer to the question is that you have a default 404.php, which hosts the Site Map component, displayed on non-existent addresses.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question