Blog Sections Open

Fixing Ditto and Wayfinder 404s on Nested URLs

Why Ditto and Wayfinder output can start returning 404s when nested URLs are enabled and how to align the routing logic properly.

When nested URLs are enabled, the whole routing chain has to agree on how links are built. If Ditto and Wayfinder start outputting links that return 404 while manually typed paths work, the issue is usually a mismatch between URL generation and URL resolution.

This is not just a menu bug. It is a routing consistency bug.

What to verify

  • Check the nested URL setting and the site’s actual rewrite rules.
  • Confirm that snippets generate links using the same assumptions as the router.
  • Look for stale cache after changing alias or nested URL settings.
  • Make sure the full parent path is generated exactly as the router expects.

If manually entering the full nested path returns 200 but snippet-generated links return 404, the generated link format is the thing to fix. That usually means revisiting snippet configuration, path generation logic, or alias handling rather than the content itself.

Nested URLs are reliable only when the tree, the link builder, and the rewrite layer all agree.

Newer post

Fixing Quip Errors After Deleting Resources from the Tree

Why Quip can start throwing fatal errors after related resources are removed and how to restore comment references safely.

Older post

Fixing the “Refused to Set Unsafe Header Connection” Manager Bug

What to check when saving a resource leaves the right manager pane blank and the browser console reports an unsafe Connection header.