[SOLVED] Noindex for information pages?

LiteCart Fan
Fra Bulgaria
Member since aug. 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
Fra Netherlands
Member since dec. 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
Fra Bulgaria
Member since aug. 2022

Thanks for the answer! I think it works well.

Du
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.