D
D
denism3002019-08-15 10:30:05
1C-Bitrix
denism300, 2019-08-15 10:30:05

How to remove keywords tags in Bitrix?

Deleted in header.php, deleted in infoblock template files. However, they still show up. Delete in the admin - a long time. How can you cut them out once and for all?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vyacheslav Shevchenko, 2019-08-15
@WebDev2030

By default, header.php contains code: which displays these meta tags, includes scripts and styles. Remove it and write the following:

$APPLICATION->ShowMeta("robots", false, $bXhtmlStyle);
//    $APPLICATION->ShowMeta("description", false, $bXhtmlStyle);
    $APPLICATION->ShowLink("canonical", null, $bXhtmlStyle);
    $APPLICATION->ShowCSS(true, $bXhtmlStyle);
    $APPLICATION->ShowHeadStrings();
    $APPLICATION->ShowHeadScripts();

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question