File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ # Allow all crawlers to access the site for SEO
2+ User-agent: *
3+ Allow: /
4+
5+ # Block all bots from scraping images
6+ User-agent: *
7+ Disallow: /gallery/
8+ Disallow: * .jpg
9+ Disallow: * .jpeg
10+ Disallow: * .png
11+ Disallow: * .gif
12+ Disallow: * .webp
13+ Disallow: * .avif
14+ Disallow: * .svg
15+
16+ # Allow good bots (Google, Bing, etc.) to index pages with images
17+ User-agent: Googlebot
18+ User-agent: Googlebot-Image
19+ User-agent: Bingbot
20+ Allow: /
21+
22+ # Block image-specific crawlers
23+ User-agent: Googlebot-Image
24+ Disallow: /gallery/
25+ Disallow: * .jpg
26+ Disallow: * .jpeg
27+ Disallow: * .png
28+ Disallow: * .gif
29+ Disallow: * .webp
30+ Disallow: * .avif
31+
32+ # Sitemap location
33+ Sitemap: https://rishikc.com/sitemap-index.xml
You can’t perform that action at this time.
0 commit comments