Skip to content

Agent fiendly 404s feedback - #500

Open
albinazs wants to merge 2 commits into
wagtail:mainfrom
albinazs:agent-fiendly-404s-feedback
Open

albinazs wants to merge 2 commits into
wagtail:mainfrom
albinazs:agent-fiendly-404s-feedback

Conversation

@albinazs

@albinazs albinazs commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Description

Follow-up to #495, addressing review feedback.

  • Fix fallback pages on 404s. Newer Wagtail replaces any Http404 from route() with a plain one, so Custom404.fallback_pages never reached the handler. The handler now looks them up itself, and the Markdown 404 lists them too.
  • Absolute links in Markdown 404s.
  • /test404/ uses the real 404 handler (DEBUG only). /fr/test404/tutorial/ shows fallback pages.

Added tests for fallback pages in HTML and Markdown.

AI usage

AI-assisted issue investigation, code generation, and PR description.

@albinazs
albinazs requested a review from thibaudcolas October 5, 2026 16:52

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant