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: *
|
User-agent: *
|
||||||
Allow: /
|
Allow: /
|
||||||
|
|
||||||
# Sitemap
|
|
||||||
Sitemap: https://zhaoguiyang.com/sitemap-index.xml
|
|
||||||
|
|
||||||
# Disallow admin/private areas (if any)
|
|
||||||
Disallow: /api/
|
Disallow: /api/
|
||||||
Disallow: /_astro/
|
Disallow: /admin/
|
||||||
Disallow: /assets/
|
Disallow: /*?*
|
||||||
|
Disallow: /zh/blog/tags/
|
||||||
|
Disallow: /blog/tags/
|
||||||
|
|
||||||
|
Sitemap: https://zhaoguiyang.com/sitemap-index.xml
|
||||||
|
|||||||
Reference in New Issue
Block a user