Repository navigation
Conversation
Skeyelab
enabled auto-merge (squash)
December 3, 2026 06:49
- app/not-found.tsx replaces Next's default 404, which had two <title> tags and no way back: one heading, one sentence and a link to the home page, with its own title and no canonical address or share card. - nginx: /404, /404.html and /_not-found answered 200 with the 404 page; they are a 404 now. /images and /_next redirected to a slash address that answered 403; they are a 404 now (try_files no longer tries a folder). - app/favicon.ico, from the app icon: /favicon.ico was a 404, and crawlers ask for it by that name. CI's Docker step checks each of these against the real image. The nginx rules were not run locally. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VCgWWseQZtUzcSRzjqqQJQ
Without "$uri/" in try_files the catch-all location no longer found "/": CI's Docker step got a 404 for the home page. "location = /" serves index.html directly. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VCgWWseQZtUzcSRzjqqQJQ
Skeyelab
force-pushed
the
seo-not-found
branch
from
December 3, 2026 07:02
9ea9809 to
da924aa
Compare
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.
What
Three things an audit of the live site found, all about addresses that are not pages.
<title>tags, no site styling, no link back.app/not-found.tsxreplaces it with one heading ("Page not found"), one sentence and a button to the home page. It has its own title and no canonical address or share card, since it is served at whatever address was asked for. Next still addsnoindex./404returned 200 with the 404 page./imagesand/_nextredirected to/images/and/_next/, which returned 403. Innginx.conf,/404,/404.html,/_not-foundand/_not-found.htmlnow return 404, andtry_filesno longer tries a folder, so folder addresses return 404 too. The home page/is unchanged./favicon.icoreturned 404.app/favicon.ico(16, 32 and 48 px, from the app icon) fixes that. The PNG icon stays.Checked
tests/notFound.test.tsx(new): the page's heading, link and metadata, the nginx rules, and the favicon file.yarn lint,yarn test:runandyarn buildlocally;out/404.htmlhas one title,noindex, no canonical./nopeshows the new page with a 404, the six addresses above return 404,/favicon.icoreturns 200, and/still serves the page. That is the one change outsidewebsite/: seven lines in.github/workflows/ci.yml.🤖 Generated with Claude Code
https://claude.ai/code/session_01VCgWWseQZtUzcSRzjqqQJQ