Answer the question
In order to leave comments, you need to log in
Why is the header generation not disabled on the page where there is an infoblock?
Good day, dear colleagues.
Help me figure it out. There is a page on Bitrix, it contains the necessary meta data, also on this page there is a news info block, in which the creation of headlines is disabled, and so on. but when I start setting up the seo part of the block, it changes all the meta of the page, how to avoid this?
Once again, there is an infoblock that is used by different components, and one of them is on the main page, and when I edit the SEO of the block itself, it overwrites the page where it is. how to change this situation. I thought the flag to make headers and so on is responsible for this, but something is wrong. where to dig?
Answer the question
In order to leave comments, you need to log in
check the component_epilog.php file (if it exists) in the component's template folder. Perhaps there is an old code that overwrites the header
Try adding the following lines to the component call parameters:
"SET_BROWSER_TITLE" => "N",
"SET_META_KEYWORDS" => "N",
"SET_META_DESCRIPTION" => "N",
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question