[SOLVED] Noindex for information pages?

LiteCart Fan
Tól től Bulgaria
Tagság aug. 2022 óta

Hello friends!

As the thread title suggests, I'm wondering how I can get the robots to NOT index the info pages?

LiteCart Fan
Tól től Netherlands
Tagság dec. 2022 óta

page: includes/templates/*.catalog/layouts/default.inc.php

<?php
// if isset page_id, add the meta tag
if (isset($_GET['page_id'])) { ?>
<meta name="robots" content="noindex, nofollow">
<?php } ?>
LiteCart Fan
Tól től Bulgaria
Tagság aug. 2022 óta

Thanks for the answer! I think it works well.

Te
Ez a weboldal nem használ cookie-kat és nem használ harmadik féltől származó nyomkövetési technológiát. Úgy gondoljuk, hogy jobban tudjuk csinálni, mint mások, és tényleg gondolunk az Ön magánéletére.