D
D
Diversia2021-04-09 08:17:15
1C-Bitrix
Diversia, 2021-04-09 08:17:15

Is it correct to set noindex, nofollow through system.auth.authoriz?

For search engines, you need to close certain pages. In particular, those that are available only to registered users. You can do this through robots.txt. But there is a system.auth.authoriz component.
I believe that it would be useful to immediately add to the template.php of this component:

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

What do you think about this?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question