Get the latest tech news
Designing a website without 404s
How Pillser uses fuzzy matching to avoid preventable 404s on its website.
One of the ways I've done it is by using fuzzy matching to redirect users to the right place when they make a typo, a product is renamed, or the logic used to generate the URL changes. It is basically a fallback mechanism that queries the database to find the closest match to the URL. This way, I can manually override the redirect logic if I discover that the chosen supplement is not the correct one or not the most relevant substitute.
Or read this on Hacker News