If you’re working in government communications, you’ve probably come across “vanity URLs” before. These are easily-written-out shortcuts to webpages that typically have longer, more complex web addresses. You’ll often see them in TV or online advertisements, spoken out on radio ads, or included on billboards, posters, and other printed communications. They’re really handy.
Vanity URLs are a standard part of the Government of Canada’s web communications guidelines. They’re just another name for redirects, which have been around since the early days of the web.
The name “vanity URL” seems to originate from the Adobe content management system that powers Canada.ca (although other systems and providers occasionally also use the term). It’s a bit of a weird name (“are these URLs …vain?”). I usually just call them “redirects”, going back to the start of my web developer days, but I’ll use “vanity URLs” in this post.
What’s noteworthy about vanity URLs is that – unlike links that are shared in emails or other webpages – people are frequently typing them in “by hand”, in the address bar of their web browser. That’s partly why they’re useful (and more useful the shorter and more memorable they are). But it also means that people are very likely to type them incorrectly. That’s something worth planning for.
Whenever I see a vanity URL on a Canadian government advertisement or publication, I have a few immediate reactions:
- Does it still work if you type it without the hyphens?
- Are there any complicated words that (if you heard it spoken out, instead of written) you might mis-hear or spell wrong?
- If you only partly remember the URL later, how likely are you to get to the page you’re trying to reach?
If people type in a vanity URL that doesn’t exist, they’ll get an “Error 404” (page not found) message instead of the information you’re trying to help them reach.
The solution is to create a lot of vanity URLs, for all the different variations (and misspellings) of the main vanity URL that you plan on publicly communicating.
A few examples
Let’s try that out in practice, on some URLs related to the Canadian government’s COVID-19 -related information (as of mid-December 2021; these might change in the future).
|URL||Does it work|
|canada.ca/covid||Does not work ❌|
All told, that’s a pretty good track record – hat tip to our public health communication folks!
If your team or project is using a vanity URL, you can try the same exercise: add or remove hyphens, say it out loud (and think about how people hearing it on the radio might register it), and think of different synonyms or words that people might think they saw or heard when your vanity URL briefly passed them by. (And do all this in both official languages, of course!)
I’d be curious how many people land on the “Error 404” page for canada.ca/covid, and if there are web analytics stats that are available to comms teams to help them identify where new vanity URLs could be created. Some content management systems can be set up to send automatic alerts in this case. If you’re seeing a large number (or even a small number!) of Error 404s on a particular URL, that’s a great reason to add a new vanity URL at that exact address.
When webpages get moved from one location to another, it’s also really valuable (dare I say, morally important) to add redirects so that people going to the old addresses can find the new ones. As Tim-Berners Lee (the inventor of the World Wide Web) would say: cool URLs don’t change. If you’re moving where something lives on the internet, make sure that people can immediately make their way to the new location. That’s something the Canadian government hasn’t historically been great at.
What’s the takeaway? If you create vanity URLs, don’t just create one or two; create a bunch that are all designed to account for different ways that people could mis-spell or mis-hear your main vanity URL. If someone ends up on an “Error 404” page instead of your content, they’re probably going to just give up instead of trying another variation of the address they typed in. You’ve written good stuff – help people find it every possible way they can.