Is it bad practice to have multiple URLs leading to the same destination?
Rest assured, that these URLs are unique. For example:
page.com/model/hello-there == page.com/model/hellothere == page.com/model/he-lloth-ere
All are reduced down to the letters (/hellothere).
Are there any disadvantages to this? Thanks!
What you're alluding to is known as slugging
I'd highly recommended checking out that link, and some gems including Slugalicious & Friendly_id
There is absolutely no problem with it, as long as you structure the routes properly. For example, as a user, I'd welcome /users/mark-zuckerberg
rather than users/109234230234/mark-zuckerberg/z22323
(it's all about user experience at the end of the day)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.