# Shopify Robots.txt Optimization User-agent: * # Allow important pages to be indexed Allow: /collections* Allow: /products* # Disallow sensitive pages Disallow: /cart* Disallow: /checkout* Disallow: /orders* Disallow: /search* # Default rules generated by Shopify Disallow: /admin Disallow: /apps Disallow: /account Disallow: /policies User-agent: * # Block certain file types Disallow: /*.css$ Disallow: /*.js$ Disallow: /*.json$ Disallow: /*.map$ Disallow: /*.svg$ Disallow: /*.zip$ User-agent: * # Allow bots to access important resources Allow: /assets/*.css Allow: /assets/*.js Allow: /assets/*.jpg Allow: /assets/*.png Allow: /assets/*.gif Allow: /assets/*.webp