Answer the question
In order to leave comments, you need to log in
CNC, Bitrix and .html: what are the rules for processing addresses?
Friends!
Googling and reading the manual did not help me, I ask for help from the community.
We are planning to move from Joomla to Bitrix. Joomla uses the sh404sef plugin, due to which the addresses of the catalog pages look like
/Tovaru-dlya-togo-to/padrazdel-takoi-to.html product.html
The task is to save the addresses during the transfer.
What are the rules for processing addresses? Who faced?
Thank you!
Answer the question
In order to leave comments, you need to log in
#SECTION_CODE_PATH# - Path from symbolic codes of
the infoblock/component settings
section: Section page URL: #SECTION_CODE_PATH#.html
Detailed view page URL: #SECTION_CODE_PATH#/#ELEMENT_CODE#.html
If I'm not mistaken, then the CNC is indicated in the settings of the info block and in the settings of the component (list of news, news in detail, or the complex component "catalogue"). In the settings of the info block, you set, roughly speaking, masks, for example:
/catalog/${SECTION_CODE}/${PRODUCT_CODE} - for the product, (output of transliterated names), but with this approach, the link will be built according to the root directory, and according to the catalog in which the item is located.
If the output of the entire chain is required, then, I think, the built-in tools are indispensable here and it will be necessary to write (or modify existing ones) components from the trading module.
Those. there is a request - foo.bar.ru/catalog/tovarydlyadoma/pilesosy/tomased...
in .htaccess, (via RewriteRule), PHP gets the variable
$r="/catalog/tovarydlyadoma/pilesosy/tomasedisson.html";
, then Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question