In this video we will see how to add a custom robots.txt file to a Shopify store. This will give us more control over which bots are allowed to crawl our shop and which ones are not. We will also learn how Shopify's default robots.txt file is generated, how to remove rules from it and more.
🟢 My links
- Website - https://stackingcontext.com
- Support This Project - https://stackingcontext.com/support
- Let's work together - https://stackingcontext.com#contact
- Get Early Access To New Videos - https://www.youtube.com/@stackingcontext/join
Resources:
- robots.txt.liquid documentation - https://shopify.dev/docs/storefronts/themes/architecture/templates/robots-txt-liquid
- Editing Robots.txt documentation - https://shopify.dev/docs/storefronts/themes/seo/robots-txt
Continue this lesson in the app
Install CourseHive on Android or iOS to keep learning while you move.