Answer the question
In order to leave comments, you need to log in
How to set Bitrix infoblock URLs to without a slash?
Dear experts, please tell me the correct settings for the news output info block on the website.
Now everything works correctly in the form
domen.ru/blog/news-1/
domen.ru/blog/news-2/
I want to make it work without the last slash
domen.ru/blog/news-1
domen.ru/blog/news -2
Because the catalog of goods gives without a slash
domen.ru/catalog/category1
domen.ru/catalog/category2
domen.ru/product/product1
domen.ru/product/product2
But, at the same time, the top page of the catalog is given with a slash
domen. ru/catalog/
Catalog settings
Information block page URL: /
Section page URL: #SITE_DIR#catalog/#SECTION_CODE#
Detailed view page URL: #SITE_DIR#product/#ELEMENT_CODE#
From the visual setting of the
CNC Catalog component (relative to the site root): /
List of sections: catalog/
Section: catalog/#SECTION_CODE#
Detailed information: product/#ELEMENT_CODE#
Blog settings
Page URL of the information block: #SITE_DIR#/blog/
URL of the detailed view page: #SITE_DIR#/blog/#ELEMENT_CODE#/
From the visual setting of the component
CNC directory (relative to the site root): /blog/
General list page: (blank)
Section page: ( empty)
Detail page: #ELEMENT_CODE#/
How to correctly set the info block settings for the Blog so that there is no last slash / in the address and it works 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