P i l o u Posted November 27, 2018 Share Posted November 27, 2018 (edited) Bonjour, Je constate de plus en plus d'erreurs d'exploration dans Google Search Console. Ces erreurs sont de type " panier?qty=1&id_product=45&token=5f4feea176ed680773a9188e02c03948&add=" Elles ne se trouvent que dans la partie "smartphone" et non dans la partie "ordinateur"... Faut-il s'en inquiéter et si oui, comment les corriger svp ? Edited November 27, 2018 by P i l o u (see edit history) Link to comment Share on other sites More sharing options...
doekia Posted November 27, 2018 Share Posted November 27, 2018 Il faut s'inquiéter de vérifier que tous lien a vers le panier (add-to-cart) contiennent un nofollow Link to comment Share on other sites More sharing options...
P i l o u Posted November 27, 2018 Author Share Posted November 27, 2018 (edited) Merci de ta réponse doekia mais comment faire ? J'ai oublié de dire que ce sont des erreurs de pages bloquées (dernier onglet du GSC) Edited November 27, 2018 by P i l o u (see edit history) Link to comment Share on other sites More sharing options...
doekia Posted November 27, 2018 Share Posted November 27, 2018 vérifier les templates (product-list.tpl, product-comparaison.tpl, ...) Link to comment Share on other sites More sharing options...
P i l o u Posted November 27, 2018 Author Share Posted November 27, 2018 Merci doekia. Je sais que pour toi tout est simple, mais en clair, que dois-je rechercher dans les fichier tpl stp ? Je joins product-list.tpl au cas où tu as 2 min pour y jeter un oeil. product-list.tpl Link to comment Share on other sites More sharing options...
doekia Posted November 27, 2018 Share Posted November 27, 2018 Ligne 73 de ton fichier par exemple: <a class="ajax_add_to_cart_button icon-shopping-cart" rel="ajax_id_product_{$product.id_product|intval}" href="{$link->getPageLink('cart',false, NULL, "add=1&id_product={$product.id_product|intval}&token={$static_token}", false)}" title="{l s='Add to cart'}"><span></span></a> devrait être: <a class="ajax_add_to_cart_button icon-shopping-cart" rel="nofollow ajax_id_product_{$product.id_product|intval}" href="{$link->getPageLink('cart',false, NULL, "add=1&id_product={$product.id_product|intval}&token={$static_token}", false)}" title="{l s='Add to cart'}"><span></span></a> Link to comment Share on other sites More sharing options...
P i l o u Posted November 28, 2018 Author Share Posted November 28, 2018 Donc, je remplace les class="ajax_add_to_cart_button icon-shopping-cart" rel="ajax_id_product_{$product.id_product|intval}" par class="ajax_add_to_cart_button icon-shopping-cart" rel="nofollow ajax_id_product_{$product.id_product|intval}" Merci doekia Link to comment Share on other sites More sharing options...
P i l o u Posted December 5, 2018 Author Share Posted December 5, 2018 Bonjour, Malgré le nofollow, j'ai toujours des erreurs du même type dans GSC... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now