Remix.run Logo
noduerme 3 hours ago

I'm a big fan of writing little bits of code into my URL routers that check for pages and try to correct typos. So if someone types https://some-awesome-site.org/jhon-davisdon it will check and correct it to /john-davidson. What's nice is always delivering the "canonical" link rel when you serve the correct page that way, too. I make the assumption that people still try to type links, sometimes ;)

xnx 2 hours ago | parent [-]

Sounds like mod_speling for Apache: https://httpd.apache.org/docs/current/mod/mod_speling.html

noduerme an hour ago | parent [-]

Hah. Cool. Similar. But I implement it usually by having the whole page hierarchy in a SQL table and using wildcards.