Jump to content

Recommended Posts

Bonjour, j'ai découvert un gros souci seo sur mon site de lunette un ajout d'une balise <meta name="robots" content="noindex,nofollow"> sur mes catégories .... ce qui a plomber mon SEO. La balise dans le fichier header.tpl ets la suivante : <meta name="robots" content="{if isset($nobots)}no{/if}index,{if isset($nofollow) && $nofollow}no{/if}follow" />

Voici le lien : https://lunettesloupe.com/fr/12-lunette-loupe

Le fichier robots est correct. Je sèche...

Je ne vois pas ou changer cette balise pour <meta name="robots" content="index,follow">

Dans l'attente d'une aide d'un conseil. Merci.

Link to comment
Share on other sites

Très probablement un module tiers et/ou une override du CategoryController

En théorie, seul le controlleur CmsController définie la variable nobots

controllers/front/CmsController.php:                $this->context->smarty->assign('nobots', true);

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...