Answer the question
In order to leave comments, you need to log in
How to disable SetPageProperty('robots') in smart filter?
The problem is that you need to disable SetPageProperty('robots') in the SEO module of the smart filter, since I have my own setting conditions, I added a function that works in ShowHead, everything works fine except for those urls that are assigned in the SEO of the smart filter, I I understand that the processing of the SetPageProperty('robots','noindex, nofollow') function comes after the main function. How can I deal with this?
Answer the question
In order to leave comments, you need to log in
I found it myself, go to the
/bitrix/components/sotbit/seo.meta/component.php file
and comment on the lines containing $APPLICATION->SetPageProperty("robots".......
if you don't need indexing control through the admin panel.
Otherwise I think we can rewrite the conditions by setting the priority to custom.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question