fix(site): return proper 404s and link canonical Safety Index profiles - #399
Merged
Merged
Conversation
Contributor
🔭 MCP Observatory — Action needed: run did not clear the gateSafety verdict
📊 Summary
Next action
🔭 MCP Observatory — test your MCP servers for breaking changes · ⭐ Star |
KryptosAI
marked this pull request as ready for review
September 13, 2026 06:05
Contributor
|
🎉 This PR is included in version 1.48.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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.
Unknown site paths currently receive the normal page with a successful status, and Safety Index links use legacy .html URLs. Add an intentional noindex 404 recovery page, canonical extensionless profile links and sitemap entries, and a contextual link from each profile to the free scan setup.
Keep the current homepage, substantiated logo links, optimized assets and Cloudflare analytics CSP/cache settings when regenerating the dashboard. Update the sitemap validator to resolve Pages extensionless routes to their generated .html files. Include a read-only routing smoke probe for valid pages, scanner paths and the single legacy redirect.
Validation: regenerated dashboard, focused commercial/navigation tests and static dashboard validation pass. Local Pages routing/browser checks and full required CI must pass before merge. The final scope introduces no new profile-event collection.
Final validation: all required checks passed on c5214fa before merging. Local Cloudflare Pages routing verified canonical profiles (200), legacy .html redirect (308), and scanner paths (404). Browser inspection covered the recovery page and scan CTA; the production pages were also inspected after deployment.