B
B
bichukov2021-12-14 11:13:46
1C-Bitrix
bichukov, 2021-12-14 11:13:46

How to hide in url /filter/clear/apply/?

There is a site, and when the filter is reset
, the following line appears
....catalog/aksessuary_dlya_volos/filter/clear/apply/.... I
dug up the Internet and nothing worked.
Inserted this code
in the header
<?
$x = $_SERVER['REQUEST_URI'];
if(strpos($x, '/filter/clear/apply/')!==false){
$APPLICATION->SetPageProperty("robots", "noindex, nofollow");
}
?>

but it is ignored and outputs anyway.
Tell me, can someone know how it would be possible to hide in the url /filter/clear/apply/?

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