A
A
alex4answ2019-02-02 10:31:10
1C-Bitrix
alex4answ, 2019-02-02 10:31:10

Detailed infoblock page is not displayed?

Good afternoon, I created an infoblock, wrote down the cnc rules there:

URL страницы информационного блока:	#SITE_DIR#/actions/
URL страницы раздела:                                  #SITE_DIR#/actions/#SECTION_CODE_PATH#/
URL страницы детального просмотра:	        #SITE_DIR#/actions/#ELEMENT_CODE#/

I created a page, inserted the news component, configured which infoblock, template,
prescribed CNC rules:
Каталог ЧПУ (относительно корня сайта):    /actions/
Страница раздела:                                         #SECTION_CODE_PATH#/
Страница детального просмотра:                 #SECTION_CODE_PATH#/#ELEMENT_CODE#/

As a result, it does not show the detailed view page, instead - Sitemap (404)
The link to the detailed page is correct:
/actions/code-element (если без раздела)
/actions/section-code/code-element (если с разделом)

What could be the reason?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2019-02-03
@alex4answ

1) check the closing slashes
2) check urlrewrite.php
3) check if the element is active
4) go to the complex component and see what CNC it substitutes

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question