Repository navigation
fix(seo): keep schematic downloads out of the search index - #610
Merged
Merged
Conversation
TheMeinerLP
force-pushed
the
fix/schematic-download-headers
branch
from
November 7, 2026 17:47
aac0bc2 to
931fa4e
Compare
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
launchpad | 931fa4e | Commit Preview URL Branch Preview URL |
Nov 07 2026, 05:49 PM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Search Console listed the Minecraft schematic downloads on POI pages (
.schemand.litematicbuilds, around 10 MB each) under "Crawled - currently not indexed". Google treated the build files as pages: they were served without a content type or a robots header, so nothing told crawlers they are downloads.Change
Each schematic download now declares itself as an attachment that should not be indexed:
X-Robots-Tag: noindex,application/octet-streamandContent-Disposition: attachment. The rules name the four files one by one, so the cover and progress images next to them, which POI pages embed, keep their normal type. The POI pages themselves (/en/…,/de/…) are not affected.Verification
tests/seo/schematic-download-headers.spec.tschecks that every schematic file has its own noindex rule and that no splat rule exists.wrangler devon.output: a schematic download returns the new headers;/community-poi/labyrinth/cover.webpreturnsimage/webpwithout attachment or noindex;/en/community-poi/mazestill returnsindex, follow.pnpm quality: no regression.