paandahl / tripfinger-ios

Apache License 2.0
2 stars 0 forks source link

Lesson about URL slugs #390

Open paandahl opened 8 years ago

paandahl commented 8 years ago

Just a note about URL slugs. If the name is not particularly unique (which is very often), include the city or another qualifier in it. These slugs need to be unique across our entire dataset.

F.ex. "Bauhaus", "National-Gallery", "Warsaw" are very bad slugs, because they are very likely to collide with others in the future. "Warsaw-Bar-Tbilisi" is a much better way to go. "National-Gallery-Tbilisi", etc.

I have to fix all of these (there's many more), and all eventual links to them will be broken and cause trouble in the future. So we really should focus on improving this.