Sablab Posted February 23, 2020 Share Posted February 23, 2020 salve a tutti, il robots.txt generato da un prestashop 1.7.6.1 con due lingue attive (italiano e inglese) riporta verso fine del file la seguente riga: # Files Disallow: /*en/ il che ha come esito l'esclusione di tutta la sezione inglese dal sistema di indicizzazione di google (verificato tramite search console). a questo punto la domanda: posso rimuovere manualmente la riga? oppure va corretta qualche impostazione nel backend per evitare che venga poi reimpostata successivamente dal sistema? oppure è giusto che quella riga ci sia (caso in cui chiederei anche il motivo)? di seguito il robots.txt completo appena rigenerato tramite parametri negozio -> traffico e seo -> generazione file robots (fondo pagina) # 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: /js/jquery/* # Private pages Disallow: /*?order= Disallow: /*?tag= Disallow: /*?id_currency= Disallow: /*?search_query= Disallow: /*?back= Disallow: /*?n= Disallow: /*&order= 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 for www.dolcimascolo.com Disallow: /app/ Disallow: /cache/ Disallow: /classes/ Disallow: /config/ Disallow: /controllers/ 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: /var/ Disallow: /vendor/ Disallow: /webservice/ Disallow: /en/app/ Disallow: /en/cache/ Disallow: /en/classes/ Disallow: /en/config/ Disallow: /en/controllers/ Disallow: /en/download/ Disallow: /en/js/ Disallow: /en/localization/ Disallow: /en/log/ Disallow: /en/mails/ Disallow: /en/modules/ Disallow: /en/override/ Disallow: /en/pdf/ Disallow: /en/src/ Disallow: /en/tools/ Disallow: /en/translations/ Disallow: /en/upload/ Disallow: /en/var/ Disallow: /en/vendor/ Disallow: /en/webservice/ Disallow: /it/app/ Disallow: /it/cache/ Disallow: /it/classes/ Disallow: /it/config/ Disallow: /it/controllers/ Disallow: /it/download/ Disallow: /it/js/ Disallow: /it/localization/ Disallow: /it/log/ Disallow: /it/mails/ Disallow: /it/modules/ Disallow: /it/override/ Disallow: /it/pdf/ Disallow: /it/src/ Disallow: /it/tools/ Disallow: /it/translations/ Disallow: /it/upload/ Disallow: /it/var/ Disallow: /it/vendor/ Disallow: /it/webservice/ # Files Disallow: /*en/ Disallow: /*it/password-dimenticata # Sitemap Sitemap: https://www.dolcimascolo.com/1_index_sitemap.xml grazie a tutti 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