P
P
pavelmosin2020-07-30 16:58:32
1C-Bitrix
pavelmosin, 2020-07-30 16:58:32

Bitrix.news CNC for elements without sections?

Good afternoon!
I get 404 when I go to the section. When you switch to the news is normal.
It is required that the CNC of the element be without a section:
section url - /news/url__razdel/
news url - /news/url__novost/

In the component settings:
CNC directory (relative to the site root): /news/
Section page: #SECTION_CODE#/
Detailed view page : #ELEMENT_CODE#/

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
pavelmosin, 2020-07-30
@pavelmosin

I solved it by writing in the component settings Section Page: #SECTION_CODE_PATH#/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question