Skip to content

Catch all doesn't 404 on non-existing pages? #2110

Answered by nobkd
notflip asked this question in Q&A
Discussion options

You must be logged in to vote

Your first link displays this text, as the page is not found:
Document not found, overwrite this content with #not-found slot in <ContentDoc>.

As you stated, because of the catch-all method, it does not error in a 404.

The second code block in this section of the docs explains how to set content for pages under a catch-all route that aren't found.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@notflip
Comment options

Answer selected by notflip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants