mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
Added webmentions endpoint to robots.txt disallow (#19433)
fixes PROD-290 - in order to receive webmentions (e.g. recommendations), Ghost sites expose a /webmentions/receive endpoint. This endpoint is wrongly being indexed by Google as a regular page, and causes indexing errors in Google Search Console
This commit is contained in:
parent
668e51e631
commit
1f5a42d34c
@ -4,3 +4,4 @@ Disallow: /ghost/
|
||||
Disallow: /p/
|
||||
Disallow: /email/
|
||||
Disallow: /r/
|
||||
Disallow: /webmentions/receive/
|
||||
|
@ -326,7 +326,8 @@ describe('Default Frontend routing', function () {
|
||||
'Sitemap: http://127.0.0.1:2369/sitemap.xml\nDisallow: /ghost/\n' +
|
||||
'Disallow: /p/\n' +
|
||||
'Disallow: /email/\n' +
|
||||
'Disallow: /r/\n'
|
||||
'Disallow: /r/\n' +
|
||||
'Disallow: /webmentions/receive/\n'
|
||||
);
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user