You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think with a slug would be the best solution. A mix between id or a timestamp and the title of the video ist good.
E.g. 20131124-paul-irish-yeoman . So it looks better then 51f01b826e204cd832000005-paul-irish-yeoman
So we could implement it:
1.) save the slug into the post collection entry
2.) generate another "urls/slugs/whatever" collection and save this there an match the request on it
I vote for @MartinKolb1987 solution and to store it in the same document like the video. To keep it simple you could just check if the url exists already before creating and using it. Otherwise just append a increment like 20131124-paul-irish-yeoman-2. That should be simple and prevent any conflict.
Maybe we should change the url to a more human readable url.
Because https://getfedu.com/#detail-view-post/51f01b826e204cd832000005 looks like sh*t.
But the question is, how should we do it, just with a slug, or a slug added after the id to keep up the speed?!
The text was updated successfully, but these errors were encountered: