Open Miragide opened 4 years ago
Dans le code source, il ne faut pas mettre en ligne les liens qui n'existent plus. Si une page est supprimée, il faut supprimer tous les liens vers celle-ci.
Pour trouver les erreurs 404, plusieurs possibilités sont bien expliquées à ce lien : https://digitiz.fr/blog/erreurs-404-les-detecter-et-les-corriger/ Je précise néanmoins que l'outil de couverture de la google search console met du temps à se mettre à jour, comme il dépend des robots google. C'est néanmoins intéressant de vérifier la couverture régulièrement (une fois par mois). Pour une vérification instantanée, il faut utiliser les autres outils, logiciel ou web. Personnellement, j'utilise le crawler screaming frog : https://www.screamingfrog.co.uk/seo-spider/
Ces url apparaissent sur la page d'accueil. Les outils de tracking des erreurs 404 peuvent d'indiquer. Les pages « category_id=... » sont donc dans le code source de la page d'accueil :
<section id = "category" class = "list"><a id = "category_list_title" class = "title"> Toutes les thématiques </a><div id = "category_list_thumbnail" class = "link"> <a href = "category.php?category_id=1" ><img class = "four_tiles" src = "/img/homepage/category/1_grey.jpg"></img></a> <a href = "category.php?category_id=2" ><img class = "four_tiles" src = "/img/homepage/category/2_grey.jpg"></img></a> <a href = "category.php?category_id=3" ><img class = "four_tiles" src = "/img/homepage/category/3_grey.jpg"></img></a> <a href = "category.php?category_id=4" ><img class = "four_tiles" src = "/img/homepage/category/4_grey.jpg"></img></a> <a href = "category.php?category_id=5" ><img class = "four_tiles" src = "/img/homepage/category/5_grey.jpg"></img></a> <a href = "category.php?category_id=6" ><img class = "four_tiles" src = "/img/homepage/category/6_grey.jpg"></img></a> <a href = "category.php?category_id=7" ><img class = "four_tiles" src = "/img/homepage/category/7_grey.jpg"></img></a> <a href = "category.php?category_id=8" ><img class = "four_tiles" src = "/img/homepage/category/8_grey.jpg"></img></a> </div></section>
Le type d'erreur suivant :
http://imagotv.fr/emissions/<br%20/><b>Notice</b>:%20%20Undefined%20variable:%20arrow_right_page_href%20in%20<b>/home/imagotvfys/www/php/series.php</b>%20on%20line%20<b>327</b><br%20/>
a lieu sur de nombreuses pages comme :
Voir le code source de : view-source:imagotv.fr/emissions/lumieres-sur
rechercher « Undefined »
<a href = "<br />
<b>Notice</b>: Undefined variable: arrow_left_page_href in <b>/home/imagotvfys/www/php/series.php</b> on line <b>323</b><br />
" >
<img id = "arrow_left_page" class = "arrow_page" src = "/img/icons/arrow/page_left_grey.png" >
</a>
<a href = "<br />
<b>Notice</b>: Undefined variable: arrow_right_page_href in <b>/home/imagotvfys/www/php/series.php</b> on line <b>327</b><br />
" >
<img id = "arrow_right_page" class = "arrow_page" src = "/img/icons/arrow/page_right_grey.png" >
</a>
Il semble y avoir un problème avec les liens en rapport avec les flèches : http://imagotv.fr/img/icons/arrow/page_left_grey.png
http://imagotv.fr/category.php?category_id=2 http://imagotv.fr/category.php?category_id=3 http://imagotv.fr/category.php?category_id=4 http://imagotv.fr/category.php?category_id=5 http://imagotv.fr/category.php?category_id=1 http://imagotv.fr/category.php?category_id=6 http://imagotv.fr/category.php?category_id=8 http://imagotv.fr/category.php?category_id=7 http://imagotv.fr/<br%20/>Notice:%20%20Undefined%20variable:%20arrow_right_page_href%20in%20/home/imagotvfys/www/php/category.php%20on%20line%20202<br%20/> http://imagotv.fr/emissions/<br%20/>Notice:%20%20Undefined%20variable:%20arrow_left_page_href%20in%20/home/imagotvfys/www/php/series.php%20on%20line%20323<br%20/> http://imagotv.fr/courts-metrages/<br%20/>Notice:%20%20Undefined%20variable:%20arrow_left_page_href%20in%20/home/imagotvfys/www/php/movie.php%20on%20line%20320<br%20/> http://imagotv.fr/humour/ecologie http://imagotv.fr/humour/la-pastille-verte-de-bridget-kyoto http://imagotv.fr/courts-metrages/<br%20/>Notice:%20%20Undefined%20variable:%20arrow_right_page_href%20in%20/home/imagotvfys/www/php/movie.php%20on%20line%20324<br%20/> http://imagotv.fr/<br%20/>Notice:%20%20Undefined%20variable:%20arrow_left_page_href%20in%20/home/imagotvfys/www/php/category.php%20on%20line%20198<br%20/> http://imagotv.fr/humour/la-minute-necessaire-de-bridget-kyoto http://imagotv.fr/documentaires/<br%20/>Notice:%20%20Undefined%20variable:%20arrow_right_page_href%20in%20/home/imagotvfys/www/php/movie.php%20on%20line%20324<br%20/> http://imagotv.fr/documentaires/<br%20/>Notice:%20%20Undefined%20variable:%20arrow_left_page_href%20in%20/home/imagotvfys/www/php/movie.php%20on%20line%20320<br%20/> http://imagotv.fr/emissions/<br%20/>Notice:%20%20Undefined%20variable:%20arrow_right_page_href%20in%20/home/imagotvfys/www/php/series.php%20on%20line%20327<br%20/> http://imagotv.fr/musique/<br%20/>Notice:%20%20Undefined%20variable:%20arrow_right_page_href%20in%20/home/imagotvfys/www/php/series.php%20on%20line%20327<br%20/> http://imagotv.fr/musique/<br%20/>Notice:%20%20Undefined%20variable:%20arrow_left_page_href%20in%20/home/imagotvfys/www/php/series.php%20on%20line%20323<br%20/> http://imagotv.fr/emissions/on-the-green-road http://imagotv.fr/emissions/le-vlog-du-tour-alternatiba
En espérant avoir bien répondu à tout :)
https://imagotv.fr/<br%20/>Notice:%20%20Undefined%20variable:%20arrow_right_page_href%20in%20/home/imagotvfys/www/php/category.php%20on%20line%20202<br%20/> https://imagotv.fr/<br%20/>Notice:%20%20Undefined%20variable:%20arrow_left_page_href%20in%20/home/imagotvfys/www/php/category.php%20on%20line%20198<br%20/> https://imagotv.fr/emissions/le-vlog-du-tour-alternatiba https://imagotv.fr/emissions/on-the-green-road https://imagotv.fr/emissions/les-ethicuriens/50 https://www.imagotv.fr/<br%20/>Notice:%20%20Undefined%20variable:%20arrow_right_page_href%20in%20/home/imagotvfys/www/php/category.php%20on%20line%20202<br%20/> https://www.imagotv.fr/<br%20/>Notice:%20%20Undefined%20variable:%20arrow_left_page_href%20in%20/home/imagotvfys/www/php/category.php%20on%20line%20198<br%20/> https://www.imagotv.fr/emissions/le-vlog-du-tour-alternatiba/3 https://www.imagotv.fr/emissions/le-vlog-du-tour-alternatiba https://www.imagotv.fr/emissions/les-ethicuriens/50 https://www.imagotv.fr/emissions/on-the-green-road
Il y a toujours le problème des flèches sur les pages :
Cette erreur apparaît ici (liste non exhaustive) :
Je peux fournir les listes entières des pages comportant les liens cassés / 404 à la demande. Je n'ai mis qu'un exemple.
Bonjour, J'ai détecté une liste non-exhaustive d'erreurs 404. Elles pénalisent l'expérience utilisateur et la SEO.
http://imagotv.fr/category.php?category_id=3 http://imagotv.fr/category.php?category_id=2 http://imagotv.fr/category.php?category_id=4 http://imagotv.fr/category.php?category_id=5 http://imagotv.fr/category.php?category_id=1 http://imagotv.fr/category.php?category_id=8 http://imagotv.fr/category.php?category_id=6 http://imagotv.fr/category.php?category_id=7 http://imagotv.fr/<br%20/>Notice:%20%20Undefined%20variable:%20arrow_right_page_href%20in%20/home/imagotvfys/www/php/category.php%20on%20line%20202<br%20/> https://www.asset.imagotv.fr/img/documentary/episod/on_a_infiltre_la_commission_europeenne/teaser_1.jpg http://imagotv.fr/courts-metrages/<br%20/>Notice:%20%20Undefined%20variable:%20arrow_left_page_href%20in%20/home/imagotvfys/www/php/movie.php%20on%20line%20320<br%20/> http://imagotv.fr/humour/la-pastille-verte-de-bridget-kyoto https://www.asset.imagotv.fr/img/tvshow/episod/lumieres_sur/7.jpg http://imagotv.fr/courts-metrages/<br%20/>Notice:%20%20Undefined%20variable:%20arrow_right_page_href%20in%20/home/imagotvfys/www/php/movie.php%20on%20line%20324<br%20/> http://imagotv.fr/<br%20/>
Notice:%20%20Undefined%20variable:%20arrow_left_page_href%20in%20/home/imagotvfys/www/php/category.php%20on%20line%20198<br%20/> http://imagotv.fr/documentaires/<br%20/>Notice:%20%20Undefined%20variable:%20arrow_left_page_href%20in%20/home/imagotvfys/www/php/movie.php%20on%20line%20320<br%20/> https://www.asset.imagotv.fr/img/documentary/episod/on_a_infiltre_la_commission_europeenne/movie_1.jpg http://imagotv.fr/emissions/<br%20/>Notice:%20%20Undefined%20variable:%20arrow_right_page_href%20in%20/home/imagotvfys/www/php/series.php%20on%20line%20327<br%20/> http://imagotv.fr/emissions/<br%20/>Notice:%20%20Undefined%20variable:%20arrow_left_page_href%20in%20/home/imagotvfys/www/php/series.php%20on%20line%20323<br%20/> http://imagotv.fr/emissions/on-the-green-road http://imagotv.fr/humour/ecologie http://imagotv.fr/humour/la-minute-necessaire-de-bridget-kyoto http://imagotv.fr/documentaires/<br%20/>Notice:%20%20Undefined%20variable:%20arrow_right_page_href%20in%20/home/imagotvfys/www/php/movie.php%20on%20line%20324<br%20/> https://www.asset.imagotv.fr/img/tvshow/episod/cash_investigation/8.jpg http://imagotv.fr/musique/<br%20/>Notice:%20%20Undefined%20variable:%20arrow_right_page_href%20in%20/home/imagotvfys/www/php/series.php%20on%20line%20327<br%20/> http://imagotv.fr/emissions/le-vlog-du-tour-alternatiba/3 http://imagotv.fr/musique/<br%20/>Notice:%20%20Undefined%20variable:%20arrow_left_page_href%20in%20/home/imagotvfys/www/php/series.php%20on%20line%20323<br%20/> https://www.asset.imagotv.fr/img/tvshow/episod/lumieres_sur/9.jpg https://www.asset.imagotv.fr/img/tvshow/episod/lumieres_sur/1.jpg https://www.asset.imagotv.fr/img/tvshow/episod/cash_investigation/4.jpg https://www.asset.imagotv.fr/img/tvshow/episod/lumieres_sur/10.jpg https://www.asset.imagotv.fr/img/tvshow/episod/lumieres_sur/5.jpg https://www.asset.imagotv.fr/img/tvshow/episod/cash_investigation/7.jpg http://imagotv.fr/emissions/le-vlog-du-tour-alternatiba https://www.asset.imagotv.fr/img/tvshow/episod/lumieres_sur/6.jpg https://www.asset.imagotv.fr/img/tvshow/episod/cash_investigation/3.jpg https://www.asset.imagotv.fr/img/tvshow/episod/lumieres_sur/2.jpg https://www.asset.imagotv.fr/img/tvshow/episod/cash_investigation/10.jpg https://www.asset.imagotv.fr/img/tvshow/episod/cash_investigation/6.jpg http://imagotv.fr/emissions/les-ethicuriens/50
Amicalement,