chore: add robots.txt to control crawler access
This commit is contained in:
@@ -1,13 +1,9 @@
|
||||
# robots.txt for zhaoguiyang.com
|
||||
# https://zhaoguiyang.com
|
||||
|
||||
User-agent: *
|
||||
Allow: /
|
||||
|
||||
# Sitemap
|
||||
Sitemap: https://zhaoguiyang.com/sitemap-index.xml
|
||||
|
||||
# Disallow admin/private areas (if any)
|
||||
Disallow: /api/
|
||||
Disallow: /_astro/
|
||||
Disallow: /assets/
|
||||
Disallow: /admin/
|
||||
Disallow: /*?*
|
||||
Disallow: /zh/blog/tags/
|
||||
Disallow: /blog/tags/
|
||||
|
||||
Sitemap: https://zhaoguiyang.com/sitemap-index.xml
|
||||
|
||||
Reference in New Issue
Block a user