# Prevent all search engines from indexing the site User-agent: * Disallow: / # Allow Googlebot Images to crawl images (remove if blocking completely) User-agent: Googlebot-Image Disallow: # Block specific folders (modify as needed) Disallow: /admin/ Disallow: /private/ Disallow: /temp/ # Block specific file types Disallow: /*.pdf$ Disallow: /*.zip$ Disallow: /*.exe$ # Prevent search engines from indexing query parameters Disallow: /*?* # Block specific bots (examples) User-agent: AhrefsBot Disallow: / User-agent: SemrushBot Disallow: / # Sitemap location (Update when you allow indexing) Sitemap: https://www.yoursite.com/sitemap.xml