Hacker News new | ask | show | jobs
by Walkman 3929 days ago
Then you don't need the ID at all :) because you use the slug
1 comments

I want the slug to be able to change and I'd prefer not to have to keep track of every variation ever assigned to that piece of content.
if you go with /id/slug, you can redirect anything that is not exactly the same as the current, so any older links would still work because no matter what the slug was, you can redirect because the ID doesn't change.
right, same as /slug/id
no :D /id/slug is safer