K
K
koskanalya2019-11-15 09:11:19
1C-Bitrix
koskanalya, 2019-11-15 09:11:19

How to change the page name in Bitrix?

Hello, please tell me how to make a different section title and page title (H1). Now I have section title = page title. If I change the title of the section, then the H1 title also changes. I tried to check the box to use the title in the SEO paragraph, but the main one is still displayed. In the advanced settings, I unchecked the box - Set the page title, but the title of the section name is still displayed.
UPD: I found that the title is displayed here
<?=$arResult["NAME"]?> and takes it from the title of the section, but how to take it from SEO?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Savrasov, 2019-11-20
@alcorn

If you are talking about h1
Then replace <?=$arResult["NAME"]?> with Note that this line must be outside the cached
area . NOT in template.php file

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question