Y
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
eli
3929 days ago
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.
link
Walkman
3928 days ago
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.
link
eli
3927 days ago
right, same as /slug/id
link
Walkman
3926 days ago
no :D /id/slug is safer
link