-
Notifications
You must be signed in to change notification settings - Fork 240
Description
Increasing Access
There are many beta reference page links in github issues that have now-incorrect casing (also in discord, elsewhere).
Example of problem:
This issue processing/p5.js#8623
has links to...
https://beta.p5js.org/reference/p5.font/texttocontours/
https://beta.p5js.org/reference/p5.font/texttomodel/
These now needs to be camel case, like the main site:
https://beta.p5js.org/reference/p5.font/textToContours/
https://beta.p5js.org/reference/p5.font/textToModel/
When the reader clicks such an incorrect URL, they are currently presented with a raw 404 message from their browser, with no assistance. The experience is unhelpful - most users will not know what has gone wrong.
An example unhelpful message from chrome browser
Most appropriate sub-area of p5.js?
Other (specify if possible)
Feature request details
proposal
Add a custom simple 404 page which presents a link to allow the user to quickly and automatically search the website for the name of the page that wasn't found.
- It should search using the website
- In most cases it might be enough to search only for the last part of the slash-separated path
/reference/p5.font/texttocontours/would search fortexttocontours
Example:
Visiting the bad URL: https://beta.p5js.org/reference/p5.font/texttocontours/
should present a 404 page that includes a link to: https://beta.p5js.org/search/?term=texttocontours
other work
Note: this issue doesn't replace the planned 404 pages redesign: #1049.
The intention is to put in place something simple quickly which will minimise disturbance to users.
Eventually there will be other solutions to this problem of case-mismatching links (e.g. perhaps redirection on server).
beta site only
Note: this issue applies only to the beta site.