Add sitemap.xml and robots.txt for SEO optimization
This commit is contained in:
14
robots.txt
14
robots.txt
@@ -1,2 +1,14 @@
|
||||
User-agent: *
|
||||
Allow: /
|
||||
Allow: /
|
||||
|
||||
# Sitemap
|
||||
Sitemap: https://date.elpatron.me/sitemap.xml
|
||||
|
||||
# Disallow private areas
|
||||
Disallow: /stats
|
||||
Disallow: /log/
|
||||
Disallow: /htmlcov/
|
||||
|
||||
# Allow API endpoints for documentation
|
||||
Allow: /api-docs
|
||||
Allow: /static/swagger.json
|
Reference in New Issue
Block a user