TonFairePart Posted April 14, 2019 Share Posted April 14, 2019 Bonjour, suite à un problème de compatibilité mobile que je dois résoudre impérativement, Google m'indique "Page partiellement charger" voici le rapport : https://search.google.com/test/mobile-friendly?hl=fr&id=u8hJWKOEcayCEShFqtnuew&view=fetch-info et voici mon site ICI Je dois ajouter quoi exactement dans mon fichier txt afin de débloquer les ressource bloquer ? J'ai ajouter en couleurs orange les nouvelles variantes est-ce bon ? Ou je dois ajouter autre chose ? Désolé je suis débutant :) Merci pour votre compréhension. Voici mon robot txt : # robots.txt automatically generated by PrestaShop e-commerce open-source solution # http://www.prestashop.com - http://www.prestashop.com/forums # This file is to prevent the crawling and indexing of certain parts # of your site by web crawlers and spiders run by sites like Yahoo! # and Google. By telling these "robots" where not to go on your site, # you save bandwidth and server resources. # For more information about the robots.txt standard, see: # http://www.robotstxt.org/robotstxt.html User-agent: * # Allow Directives Allow: */modules/*.css Allow: */modules/*.js Allow: */modules/*.png Allow: */modules/*.jpg Allow: */themes/ Allow: */widget/ Allow: */js/ # Private pages Disallow: /*?orderby= Disallow: /*?orderway= Disallow: /*?tag= Disallow: /*?id_currency= Disallow: /*?search_query= Disallow: /*?back= Disallow: /*?n= Disallow: /*&orderby= Disallow: /*&orderway= Disallow: /*&tag= Disallow: /*&id_currency= Disallow: /*&search_query= Disallow: /*&back= Disallow: /*&n= Disallow: /*controller=addresses Disallow: /*controller=address Disallow: /*controller=authentication Disallow: /*controller=cart Disallow: /*controller=discount Disallow: /*controller=footer Disallow: /*controller=get-file Disallow: /*controller=header Disallow: /*controller=history Disallow: /*controller=identity Disallow: /*controller=images.inc Disallow: /*controller=init Disallow: /*controller=my-account Disallow: /*controller=order Disallow: /*controller=order-slip Disallow: /*controller=order-detail Disallow: /*controller=order-follow Disallow: /*controller=order-return Disallow: /*controller=order-confirmation Disallow: /*controller=pagination Disallow: /*controller=password Disallow: /*controller=pdf-invoice Disallow: /*controller=pdf-order-return Disallow: /*controller=pdf-order-slip Disallow: /*controller=product-sort Disallow: /*controller=search Disallow: /*controller=statistics Disallow: /*controller=attachment Disallow: /*controller=guest-tracking # Directories Disallow: */cache/ Disallow: */classes/ Disallow: */config/ Disallow: */controllers/ Disallow: */css/ Disallow: */download/ Disallow: */js/ Disallow: */localization/ Disallow: */log/ Disallow: */mails/ Disallow: */modules/ Disallow: */override/ Disallow: */pdf/ Disallow: */src/ Disallow: */tools/ Disallow: */translations/ Disallow: */upload/ Disallow: */vendor/ Disallow: */web/ Disallow: */webservice/ # Files Disallow: /recuperation-mot-de-passe Disallow: /adresse Disallow: /adresses Disallow: /connexion Disallow: /panier Disallow: /reduction Disallow: /historique-commandes Disallow: /identite Disallow: /mon-compte Disallow: /suivi-commande Disallow: /avoirs Disallow: /commande Disallow: /recherche Disallow: /suivi-commande-invite Disallow: /confirmation-commande Link to comment Share on other sites More sharing options...
doekia Posted April 14, 2019 Share Posted April 14, 2019 Commence par tester avec ça: https://www.google.com/webmasters/tools/robots-testing-tool Link to comment Share on other sites More sharing options...
TonFairePart Posted April 14, 2019 Author Share Posted April 14, 2019 Bonjour doekia, l’outil m’indique AUTORISÉE Link to comment Share on other sites More sharing options...
doekia Posted April 14, 2019 Share Posted April 14, 2019 Répète les Allows à la fin - des fois que. Ils sont tellement intelligent chez google qu'ils ne savent si l'ordre est pris en compte ou pas. ! https://developers.google.com/search/reference/robots_txt Quote L'ordre de priorité des règles avec des caractères génériques n'est pas défini. Link to comment Share on other sites More sharing options...
TonFairePart Posted April 14, 2019 Author Share Posted April 14, 2019 23 minutes ago, doekia said: Commence par tester avec ça: https://www.google.com/webmasters/tools/robots-testing-tool En testant avec https://tonfairepart.fr/themes/pf_giftribbon/assets/js/theme.js et https://tonfairepart.fr/themes/pf_giftribbon/assets/css/theme.css j’ai bien le message BLOQUER # robots.txt automatically generated by PrestaShop e-commerce open-source solution # http://www.prestashop.com - http://www.prestashop.com/forums # This file is to prevent the crawling and indexing of certain parts # of your site by web crawlers and spiders run by sites like Yahoo! # and Google. By telling these "robots" where not to go on your site, # you save bandwidth and server resources. # For more information about the robots.txt standard, see: # http://www.robotstxt.org/robotstxt.html User-agent: * # Allow Directives Allow: */modules/*.css Allow: */modules/*.js Allow: */modules/*.png Allow: */modules/*.jpg # Private pages Disallow: /*?orderby= Disallow: /*?orderway= Disallow: /*?tag= Disallow: /*?id_currency= Disallow: /*?search_query= Disallow: /*?back= Disallow: /*?n= Disallow: /*&orderby= Disallow: /*&orderway= Disallow: /*&tag= Disallow: /*&id_currency= Disallow: /*&search_query= Disallow: /*&back= Disallow: /*&n= Disallow: /*controller=addresses Disallow: /*controller=address Disallow: /*controller=authentication Disallow: /*controller=cart Disallow: /*controller=discount Disallow: /*controller=footer Disallow: /*controller=get-file Disallow: /*controller=header Disallow: /*controller=history Disallow: /*controller=identity Disallow: /*controller=images.inc Disallow: /*controller=init Disallow: /*controller=my-account Disallow: /*controller=order Disallow: /*controller=order-slip Disallow: /*controller=order-detail Disallow: /*controller=order-follow Disallow: /*controller=order-return Disallow: /*controller=order-confirmation Disallow: /*controller=pagination Disallow: /*controller=password Disallow: /*controller=pdf-invoice Disallow: /*controller=pdf-order-return Disallow: /*controller=pdf-order-slip Disallow: /*controller=product-sort Disallow: /*controller=search Disallow: /*controller=statistics Disallow: /*controller=attachment Disallow: /*controller=guest-tracking # Directories Disallow: */cache/ Disallow: */classes/ Disallow: */config/ Disallow: */controllers/Disallow: */css/Disallow: */download/Disallow: */js/Disallow: */localization/ Disallow: */log/ Disallow: */mails/ Disallow: */modules/ Disallow: */override/ Disallow: */pdf/ Disallow: */src/ Disallow: */tools/ Disallow: */translations/ Disallow: */upload/ Disallow: */vendor/ Disallow: */web/ Disallow: */webservice/ # Files Disallow: /recuperation-mot-de-passe Disallow: /adresse Disallow: /adresses Disallow: /connexion Disallow: /panier Disallow: /reduction Disallow: /historique-commandes Disallow: /identite Disallow: /mon-compte Disallow: /suivi-commande Disallow: /avoirs Disallow: /commande Disallow: /recherche Disallow: /suivi-commande-invite Disallow: /confirmation-commande Link to comment Share on other sites More sharing options...
TonFairePart Posted April 14, 2019 Author Share Posted April 14, 2019 Je dois donc supprimer le : Disallow: */css/Disallow: */js/ et ajouter ? Allow */css/Allow: */js/ Link to comment Share on other sites More sharing options...
doekia Posted April 14, 2019 Share Posted April 14, 2019 Allow: */*.css Allow: */*.js Link to comment Share on other sites More sharing options...
TonFairePart Posted April 14, 2019 Author Share Posted April 14, 2019 2 minutes ago, doekia said: Allow: */*.css Allow: */*.js Comme cela doekia ? User-agent: * # Allow Directives Allow: */modules/*.css Allow: */modules/*.js Allow: */*.css Allow: */*.js Allow: */modules/*.png Allow: */modules/*.jpg # Private pages Disallow: /*?orderby= Disallow: /*?orderway= Disallow: /*?tag= Disallow: /*?id_currency= Disallow: /*?search_query= Disallow: /*?back= Disallow: /*?n= Disallow: /*&orderby= Disallow: /*&orderway= Disallow: /*&tag= Disallow: /*&id_currency= Disallow: /*&search_query= Disallow: /*&back= Disallow: /*&n= Disallow: /*controller=addresses Disallow: /*controller=address Disallow: /*controller=authentication Disallow: /*controller=cart Disallow: /*controller=discount Disallow: /*controller=footer Disallow: /*controller=get-file Disallow: /*controller=header Disallow: /*controller=history Disallow: /*controller=identity Disallow: /*controller=images.inc Disallow: /*controller=init Disallow: /*controller=my-account Disallow: /*controller=order Disallow: /*controller=order-slip Disallow: /*controller=order-detail Disallow: /*controller=order-follow Disallow: /*controller=order-return Disallow: /*controller=order-confirmation Disallow: /*controller=pagination Disallow: /*controller=password Disallow: /*controller=pdf-invoice Disallow: /*controller=pdf-order-return Disallow: /*controller=pdf-order-slip Disallow: /*controller=product-sort Disallow: /*controller=search Disallow: /*controller=statistics Disallow: /*controller=attachment Disallow: /*controller=guest-tracking # Directories Disallow: */cache/ Disallow: */classes/ Disallow: */config/ Disallow: */controllers/ Disallow: */css/ Disallow: */download/ Disallow: */js/ Disallow: */localization/ Disallow: */log/ Disallow: */mails/ Disallow: */modules/ Disallow: */override/ Disallow: */pdf/ Disallow: */src/ Disallow: */tools/ Disallow: */translations/ Disallow: */upload/ Disallow: */vendor/ Disallow: */web/ Disallow: */webservice/ # Files Disallow: /recuperation-mot-de-passe Disallow: /adresse Disallow: /adresses Disallow: /connexion Disallow: /panier Disallow: /reduction Disallow: /historique-commandes Disallow: /identite Disallow: /mon-compte Disallow: /suivi-commande Disallow: /avoirs Disallow: /commande Disallow: /recherche Disallow: /suivi-commande-invite Disallow: /confirmation-commande Link to comment Share on other sites More sharing options...
TonFairePart Posted April 15, 2019 Author Share Posted April 15, 2019 17 hours ago, doekia said: Allow: */*.css Allow: */*.js Bonjour doekia, est ce tu peut me confirmer que mon txt est bon ? que je puisse l'installer, merci pour le retour. 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