diff --git a/ghost/core/core/frontend/public/robots.txt b/ghost/core/core/frontend/public/robots.txt index d3e413eeb5..5895cc5cda 100644 --- a/ghost/core/core/frontend/public/robots.txt +++ b/ghost/core/core/frontend/public/robots.txt @@ -3,3 +3,4 @@ Sitemap: {{blog-url}}/sitemap.xml Disallow: /ghost/ Disallow: /p/ Disallow: /email/ +Disallow: /r/ diff --git a/ghost/core/test/e2e-frontend/default_routes.test.js b/ghost/core/test/e2e-frontend/default_routes.test.js index c23e2bb1df..0475ba16a3 100644 --- a/ghost/core/test/e2e-frontend/default_routes.test.js +++ b/ghost/core/test/e2e-frontend/default_routes.test.js @@ -326,7 +326,8 @@ describe('Default Frontend routing', function () { 'User-agent: *\n' + 'Sitemap: http://127.0.0.1:2369/sitemap.xml\nDisallow: /ghost/\n' + 'Disallow: /p/\n' + - 'Disallow: /email/\n' + 'Disallow: /email/\n' + + 'Disallow: /r/\n' ); });