diff --git a/ghost/core/core/frontend/public/robots.txt b/ghost/core/core/frontend/public/robots.txt index 8ad5b3f97bcf..fe721db892a6 100644 --- a/ghost/core/core/frontend/public/robots.txt +++ b/ghost/core/core/frontend/public/robots.txt @@ -2,5 +2,6 @@ User-agent: * Sitemap: {{blog-url}}/sitemap.xml Disallow: /ghost/ Disallow: /email/ +Disallow: /members/api/comments/counts/ Disallow: /r/ Disallow: /webmentions/receive/ diff --git a/ghost/core/test/e2e-frontend/default_routes.test.js b/ghost/core/test/e2e-frontend/default_routes.test.js index 567cf1349460..3e03a48b10d3 100644 --- a/ghost/core/test/e2e-frontend/default_routes.test.js +++ b/ghost/core/test/e2e-frontend/default_routes.test.js @@ -323,6 +323,7 @@ describe('Default Frontend routing', function () { 'User-agent: *\n' + 'Sitemap: http://127.0.0.1:2369/sitemap.xml\nDisallow: /ghost/\n' + 'Disallow: /email/\n' + + 'Disallow: /members/api/comments/counts/\n' + 'Disallow: /r/\n' + 'Disallow: /webmentions/receive/\n' );