hugo-theme-stack icon indicating copy to clipboard operation
hugo-theme-stack copied to clipboard

Feature request: Fully featured 404 "not found" page

Open ottok opened this issue 1 year ago • 8 comments

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

ottok avatar Jan 29 '24 04:01 ottok

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

mansoorbarri avatar Feb 05 '24 03:02 mansoorbarri

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

ottok avatar Feb 22 '24 07:02 ottok

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

mansoorbarri avatar Feb 23 '24 09:02 mansoorbarri