A simple, straightforward URL shortener, powered by Vercel Redirects. Take a look at vercel.json to see how it works.
Customization is simple. Adding a new redirect is as simple as inserting a new definition at the top of the redirects
array. Your redirect can be a simple static URL or a dynamic URL that uses pattern matching to very intentionally redirect end users.
Here, try a few:
- url-shortener-with-redirects.vercel.app/docs
- url-shortener-with-redirects.vercel.app/github/hugginsio
- url-shortener-with-redirects.vercel.app/
A tip: leave a root wildcard redirect (/(.*)
) at the end of the array so that users who navigate to removed or incorrect short URLs are redirected somewhere useful, like your website.