News for hackers. Stuff that matters.
Re:In search of the perfect URL by Walkman on Sunday September 20, 2015 @03:59AM (#10246891)
Then you don't need the ID at all :) because you use the slug
Re:In search of the perfect URL by eli on Sunday September 20, 2015 @08:05AM (#10247234)
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.
Re:In search of the perfect URL by Walkman on Monday September 21, 2015 @02:00PM (#10253994)
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.
Re:In search of the perfect URL by eli on Tuesday September 22, 2015 @09:02AM (#10258244)
right, same as /slug/id
Re:In search of the perfect URL by Walkman on Wednesday September 23, 2015 @03:29AM (#10263747)
no :D /id/slug is safer