Answer the question
In order to leave comments, you need to log in
What to do with catalog pagination on Bitrix?
There is only one head everywhere, the catalog component is connected, and the catalog has pagination, which is made on GET requests, the catalog receives these GET pages and builds content .. Is it possible
to set canonical links in the catalog?
Answer the question
In order to leave comments, you need to log in
Added this to the result_modifier of the catalog:section component
CMain::IsHTTPS() ? $s = 's' : $s = '';
$canonical = "http$s://www.".SITE_SERVER_NAME.$APPLICATION->GetCurPage();
$APPLICATION->AddHeadString('<link href="' . $canonical . '" rel="canonical" />', true);
Any component can be customized based on what you are using. And in it already set your parameters that are necessary. https://dev.1c-bitrix.ru/learning/course/?CHAPTER_...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question