# Optimised robots.txt for PrestaShop (as of 2025‑10‑06) # # This file balances SEO, privacy and service requirements for Google # Search and Google Merchant Center. It allows crawlers to access # all of the resources needed to render your pages correctly (CSS, # JavaScript, images) while still keeping private/customer pages, # duplicate filters and technical directories out of the index. A # single set of rules is defined for all languages to avoid # unnecessary repetition. Remember to update the Sitemap URL at # the bottom if your shop uses a different sitemap file name or # location. # ----- Default rules for all crawlers ----- User-agent: * ## Allow resources required to render the site Allow: /*.css Allow: /*.js Allow: /*.jpg Allow: /*.jpeg Allow: /*.png Allow: /*.gif Allow: /*.svg Allow: /*.webp Allow: /themes/ ## Block dynamic module controllers (e.g. product review lists) # PrestaShop uses the `/module/` path (without trailing s) for # front‑end module controllers that return JSON or paginated lists. # These are not product or category pages and should not be indexed. Disallow: /module/ ## Exclude private pages (accounts, carts, orders, search, etc.) Disallow: */carrito Disallow: */mi-cuenta Disallow: */iniciar-sesion Disallow: */ha-olvidado-su-contrasena Disallow: */direccion Disallow: */direcciones Disallow: */datos-personales Disallow: */pedido Disallow: */confirmacion-pedido Disallow: */seguimiento-pedido Disallow: */historial-compra Disallow: */facturas-abono Disallow: */busqueda ## Prevent indexing of parameterised list pages Disallow: /*?order= Disallow: /*?tag= Disallow: /*?id_currency= Disallow: /*?search_query= Disallow: /*?n= Disallow: /*&order= Disallow: /*&tag= Disallow: /*&id_currency= Disallow: /*&search_query= Disallow: /*&n= ## Block technical directories that should never be crawled Disallow: /app/ Disallow: /cache/ Disallow: /classes/ Disallow: /config/ Disallow: /controllers/ Disallow: /download/ Disallow: /localization/ Disallow: /log/ Disallow: /mails/ Disallow: /override/ Disallow: /src/ Disallow: /tools/ Disallow: /translations/ Disallow: /upload/ Disallow: /var/ Disallow: /vendor/ Disallow: /webservice/ ## Specific allowances for Google bots to index product and image content User-agent: Googlebot Disallow: User-agent: Googlebot-image Disallow: ## Sitemap directive (update this if your sitemap file name differs) Sitemap: https://www.ecode-store.com/1_index_sitemap.xml ## Google Indexa STPro Vídeos Allow: /module/stprovideos