# Robots.txt - Optimized for SEO
# Generated for AloneDeals

User-agent: *
Allow: /
Allow: /Post/
Allow: /Post
Allow: /author/
Allow: /store/
Allow: /category/
Allow: /coupon/
Allow: /page/
Allow: /images/

# Disallow admin and private areas
Disallow: /admin/
Disallow: /classes/
Disallow: /sections/
Disallow: /views/
Disallow: /controllers/
Disallow: /components/
Disallow: /*.php$
Disallow: /signin
Disallow: /signup
Disallow: /login
Disallow: /register
Disallow: /forgot
Disallow: /reset

# Allow CSS and JS for better rendering
Allow: /*.css$
Allow: /*.js$

# Sitemap location
Sitemap: http://localhost/alone/sitemap.xml
Sitemap: http://localhost/alone/sitemap_auto.php

# Crawl delay (optional - adjust as needed)
Crawl-delay: 1

# Specific bot instructions
User-agent: Googlebot
Allow: /
Crawl-delay: 0

User-agent: Bingbot
Allow: /
Crawl-delay: 1

User-agent: Slurp
Allow: /
Crawl-delay: 1

# Block bad bots
User-agent: AhrefsBot
Crawl-delay: 10

User-agent: SemrushBot
Crawl-delay: 10

User-agent: MJ12bot
Disallow: /

User-agent: DotBot
Disallow: /
