[SOLVED] Noindex for information pages?

LiteCart Fan
De Bulgaria
Membro desde ago 2022

Hello friends!

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

LiteCart Fan
De Netherlands
Membro desde dez 2022

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
De Bulgaria
Membro desde ago 2022

Thanks for the answer! I think it works well.

Tu
This website uses no cookies and no third party tracking technology. We think we can do better than others and really think about your privacy.