Sam Wilson's Website

Redirects in Twyne

The thunder has been thundering all morning here, and now the rain has come, making for a nice Sunday morning of good coffee and some code that's making sense. It always feels better when the code makes sense. When it stops making sense (in about an hour, I suspect), I'll return to cutting mortises.

I'm adding a system of redirects to Twyne, so that Tags can be merged and their old IDs redirected to the new IDs, and Posts deleted and a correct 410 Gone response returned. I'll also add a 404 log thing, so that a site admin can keep track of what URLs are missed by users, and if appropriate redirect them to a new page (good if a domain has been migrated from a different CMS).

Tag: