diff --git a/posthog/views.py b/posthog/views.py index 73ffd40462550..76a823762b656 100644 --- a/posthog/views.py +++ b/posthog/views.py @@ -80,7 +80,11 @@ def stats(request): def robots_txt(request): - ROBOTS_TXT_CONTENT = "User-agent: *\nDisallow: /shared_dashboard/" if is_cloud() else "User-agent: *\nDisallow: /" + ROBOTS_TXT_CONTENT = ( + "User-agent: *\nDisallow: /shared_dashboard/\nDisallow: /shared/" + if is_cloud() + else "User-agent: *\nDisallow: /" + ) return HttpResponse(ROBOTS_TXT_CONTENT, content_type="text/plain")