A baseline robots.txt for Toronto businesses
Most small business sites need only a minimal robots.txt that allows everything and points to the sitemap:
User-agent: * Allow: / Sitemap: https://yoursite.com/sitemap.xml
Add Disallow lines for admin paths (/wp-admin/, /admin/), checkout pages, internal search results, and faceted navigation parameters.
The most common robots.txt mistakes
Disallowing /css/ or /js/ — Google needs these to render the page and judge mobile usability. Always allow CSS and JS.
Using robots.txt to hide pages from search results — robots.txt blocks crawling, not indexing. A blocked page that has external links can still appear in search results with no description. Use noindex meta tags instead.
Forgetting to update robots.txt after a site migration — old Disallow rules can quietly block your new sitemap or important sections.