mirror of
https://github.com/KazooTTT/kazoottt-blog.git
synced 2025-06-22 10:11:30 +08:00
feat: add robots.txt
This commit is contained in:
17
public/robots.txt
Normal file
17
public/robots.txt
Normal file
@ -0,0 +1,17 @@
|
||||
User-agent: *
|
||||
Allow: /
|
||||
|
||||
# Sitemaps
|
||||
Sitemap: https://blog.kazoottt.top/sitemap-index.xml
|
||||
|
||||
# Common crawl optimizations
|
||||
Disallow: /api/
|
||||
Disallow: /_astro/
|
||||
Disallow: /404
|
||||
Disallow: /500
|
||||
|
||||
# Allow crawling of content
|
||||
Allow: /posts/
|
||||
Allow: /categories/
|
||||
Allow: /tags/
|
||||
Allow: /blog/
|
Reference in New Issue
Block a user