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

Feature request: Fully featured 404 "not found" page #936

Open
ottok opened this issue Jan 29, 2024 · 8 comments
Open

Feature request: Fully featured 404 "not found" page #936

ottok opened this issue Jan 29, 2024 · 8 comments

Comments

@ottok
Copy link

ottok commented Jan 29, 2024

What happened?

Currently is a user follows a rotten link they will be presented with a very plain 404 page. Example from https://optimizedbyotto.com/asdf:

image

The page could have some more features/content to help the visitor continue their site journey.

For example, the page could re-use the search page and show a search, with the last slug element from the URL as placeholder in the search and results visible. Thus, if the link had for example a small typo, the search would most likely find the result.

Additionally the page could show a sitemap to help users ''scan" with their eyes the content and find what they were searching for, or it could just should a condensed view of the archive page listing all posts and pages.

Hugo version

0.122.0

Theme version

1.0.0

What browsers are you seeing the problem on?

Chrome

More information about the browser

No response

Relevant log output

No response

Link to Minimal Reproducible Example

https://optimizedbyotto.com/asdf

@mansoorbarri
Copy link

true, I was thinking the same.

I used to use GoKarna and they have "dynamic" 404 pages where the symbol changes everytime:

screen-capture.webm

this with search page would be pretty decent

@ottok ottok changed the title Feature request: Fully features 404 "not found" page Feature request: Fully featured 404 "not found" page Feb 22, 2024
@ottok
Copy link
Author

ottok commented Feb 22, 2024

The example from Gokarna is pretty, but it has no features that would help visitors find the content they were trying to see before they hit the 404 page.

A better example of functionality is e.g. https://seravo.com/something-that-does-not-exist which will show both search button and partial sitemap in the view to guide visitors forward:
image

@mansoorbarri
Copy link

true, it already shows the menu on the right. We can add the search & tags on the left side; make it look like the home page

@Himanshuch8055
Copy link

This issue is still open. Can I work on it? Please assign this issue to me.

@CaiJimmy
Copy link
Owner

CaiJimmy commented Oct 6, 2024

This issue is still open. Can I work on it? Please assign this issue to me.

Hi @Himanshuch8055, thank you for your interest in this issue! I have implemented a first version of this feature request, but I have not uploaded it to the repository yet. I'll upload it as soon as I can and we can see how we can improve it.

@Himanshuch8055
Copy link

This issue is still open. Can I work on it? Please assign this issue to me.

Hi @Himanshuch8055, thank you for your interest in this issue! I have implemented a first version of this feature request, but I have not uploaded it to the repository yet. I'll upload it as soon as I can and we can see how we can improve it.

No problem at all. Any time, definitely sure.

@CaiJimmy
Copy link
Owner

This issue is still open. Can I work on it? Please assign this issue to me.

Hi @Himanshuch8055, thank you for your interest in this issue! I have implemented a first version of this feature request, but I have not uploaded it to the repository yet. I'll upload it as soon as I can and we can see how we can improve it.

No problem at all. Any time, definitely sure.

Sorry for the delay, I have just submitted it: #1081

Live demo: https://dev.stack.jimmycai.com/p/math-type

@Himanshuch8055
Copy link

This issue is still open. Can I work on it? Please assign this issue to me.

Hi @Himanshuch8055, thank you for your interest in this issue! I have implemented a first version of this feature request, but I have not uploaded it to the repository yet. I'll upload it as soon as I can and we can see how we can improve it.

No problem at all. Any time, definitely sure.

Sorry for the delay, I have just submitted it: #1081

Live demo: https://dev.stack.jimmycai.com/p/math-type

No need to apologize! It's all good 😊. Thanks for your understanding.

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

No branches or pull requests

4 participants