Answer the question
In order to leave comments, you need to log in
How to make rel="canonical" with main element section?
In the catalog, items are linked to several sections, indicating the main one. There is no item "Set canonical URL" in the catalog component settings. Found solutions in which DETAIL_PAGE_URL or CurDir is used as url. But this does not suit me, the address must be taken from the main section. Is it possible to get this element parameter somehow? It is not in arResult
Answer the question
In order to leave comments, you need to log in
Do you have a modified catalog component?
https://dev.1c-bitrix.ru/learning/course/?COURSE_I...
There is such a way (for developers) https://www.olegpro.ru/post/1s_bitriks_kastomnye_k...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question