Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Disallow api for web crawlers

Roland Geiderac327b6e3fbc
diff --git a/wger/core/templates/robots.txt b/wger/core/templates/robots.txt
index 51638c7f4..c389ecbee 100644
--- a/wger/core/templates/robots.txt
+++ b/wger/core/templates/robots.txt
@@ -1,2 +1,5 @@
+User-Agent: *
+Disallow: /api/v2
+
{% for lang in languages %}Sitemap: http://wger.de/{{lang.0}}/sitemap.xml
{% endfor %}