Answer the question
In order to leave comments, you need to log in
How to make a URL to a product card in Bitrix without specifying a kazdel?
now the url to the product card domen/section_code/element_code/
how to make domen/catalog/element_code/ moreover, the catalog
section does not physically exist
, can there be a rule in urlrewrite.php
Answer the question
In order to leave comments, you need to log in
You either need to place the catalog component in the root index.php file, or place it in a separate include file.
And, accordingly, correctly configure routing in urlrewrite.php: so that when accessing addresses like /catalog/#ELEMENT_CODE#/, Bitrix accesses the catalog component located in index.php or the included file.
Also don't forget to set the paths in the settings of the infoblock and your catalog component.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question