How do sites prevent vanity URLs from colliding with future features ?
13th October 2010
My answer to How do sites prevent vanity URLs from colliding with future features ? on Quora
For wildlifenearyou.com and djangopeople.net I used the same trick as described by others in this list—an enormous blacklist of everything I could possibly want to use for a future feature.
Lanyrd.com uses Twitter screen names for profile URLs, which means this trick doesn’t work—I don’t have any control over what Twitter allows people to register. As a result, our profile pages are http://lanyrd.com/people/simonw/—but we do redirect http://lanyrd.com/simonw as a shortcut, assuming it doesn’t collide with a URL already used by the site. We’re not really promoting that feature though as we don’t want people to link to it when we can’t guarantee that it will always work for their account (if you have a username that’s unlikely to clash with a site feature you should be fine though).More recent articles
- My AI/LLM predictions for the next 1, 3 and 6 years, for Oxide and Friends - 10th January 2025
- Weeknotes: Starting 2025 a little slow - 4th January 2025
- I still don't think companies serve you ads based on spying through your microphone - 2nd January 2025