Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search: 404 Appears in Results #2099

Closed
eerikson opened this issue Jul 21, 2023 · 5 comments · Fixed by #2181
Closed

Search: 404 Appears in Results #2099

eerikson opened this issue Jul 21, 2023 · 5 comments · Fixed by #2181

Comments

@eerikson
Copy link

eerikson commented Jul 21, 2023

It appears that all pages are indexed, including built-in overrides in Next apps (404, 50x, etc). This means that we see 404 in search results, including in the main Nextra docs site:
image

Perhaps there's a way to either:

  • hook into known overridable Next templates and auto-ignore indexing these pages?
  • provide an escape hatch for auto-indexing certain pages?
@AronBe
Copy link

AronBe commented Jul 22, 2023

Also for Blog Theme, 404 appears among posts. I can change type in FrontMatter to page but then it appears among pages

image image

@C-EO
Copy link
Contributor

C-EO commented Jul 22, 2023

@B2o5T I get the same issue
Did the search indexer break? This didn't use to happen before.

@C-EO
Copy link
Contributor

C-EO commented Jul 22, 2023

image

@llllvvuu
Copy link
Contributor

llllvvuu commented Jul 25, 2023

I propose fix: #2106

@dimaMachina
Copy link
Collaborator

dimaMachina commented Aug 19, 2023

@AronBe use regular 404.jsx or 404.tsx for blog theme

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants