# robots.txt for URL Shortener Service

User-agent: *
Allow: /
Allow: /privacy.html
Allow: /terms.html
Allow: /abuse.html

# Disallow admin and API endpoints
Disallow: /admin
Disallow: /api
Disallow: /assets/

# Allow OpenGraph image endpoint for social crawlers
Allow: /__ogimg/

# Crawl-delay for aggressive bots
User-agent: AhrefsBot
Crawl-delay: 10

User-agent: SemrushBot
Crawl-delay: 10

User-agent: DotBot
Crawl-delay: 10

# Block malicious bots
User-agent: MJ12bot
Disallow: /

User-agent: SemrushBot
Disallow: /

# Sitemap (update with your domain)
Sitemap: https://yourdomain.com/sitemap.xml
