[GH-ISSUE #7910] [Feature]: Send noindex headers and metadata on every response #4345

Closed
opened 2026-10-22 04:05:52 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @Gunterlie on GitHub (Oct 20, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7910

Originally assigned to: @SpicyMarinara on GitHub.

Parent: #7909

What problem does this solve?

Search engines index Marinara pages. Only the refusal page sends noindex today (packages/server/src/middleware/basic-auth.ts). The app shell and other responses do not. An exposed installation can therefore appear in search results, and other people can find it.

This is a secondary measure. Crawler directives do not give access control and do not remove existing search results.

Proposed solution

  • Send X-Robots-Tag: noindex, nofollow on every server response, including static assets and the app shell.
  • Add <meta name="robots" content="noindex, nofollow"> to the client index.html.
  • Do not add a robots.txt that lists paths. It tells crawlers what exists and does not protect anything.

Acceptance

  • Every response from the server, including errors and the PWA shell, has X-Robots-Tag: noindex, nofollow.
  • The client HTML has the robots meta tag.
  • Docs state that this does not give access control and does not remove existing search results.
Originally created by @Gunterlie on GitHub (Oct 20, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7910 Originally assigned to: @SpicyMarinara on GitHub. Parent: #7909 ## What problem does this solve? Search engines index Marinara pages. Only the refusal page sends `noindex` today (`packages/server/src/middleware/basic-auth.ts`). The app shell and other responses do not. An exposed installation can therefore appear in search results, and other people can find it. This is a secondary measure. Crawler directives do not give access control and do not remove existing search results. ## Proposed solution - Send `X-Robots-Tag: noindex, nofollow` on every server response, including static assets and the app shell. - Add `<meta name="robots" content="noindex, nofollow">` to the client `index.html`. - Do not add a `robots.txt` that lists paths. It tells crawlers what exists and does not protect anything. ## Acceptance - [ ] Every response from the server, including errors and the PWA shell, has `X-Robots-Tag: noindex, nofollow`. - [ ] The client HTML has the robots meta tag. - [ ] Docs state that this does not give access control and does not remove existing search results.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#4345
No description provided.