D
D
denism3002019-08-06 19:31:43
1C-Bitrix
denism300, 2019-08-06 19:31:43

How to add a meta tag for certain pages in Bitrix?

How to add a meta tag for certain pages in Bitrix?
It is necessary to add a tag for pages with search results Tell me, how and where to write a condition so that the tag is displayed only on the day of these pages?
<meta name="robots" content="noindex, nofollow" />

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Zemlyanoy, 2019-08-06
@denism300

On the pages you need, add

$APPLICATION->SetPageProperty("robots", "noindex, nofollow");

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question