Shlink
Connect the Shlink web client to your app, create short links on your own domain, and read visit stats.
Updated November 24, 2026
On this page
Shlink is a URL shortener you control. Create short links with custom slugs, tags and expiry dates, make QR codes, and see visits by date, referrer and browser. Shlink is the server behind your short links; you manage it from Shlink's web client or over its REST API.
Getting started
- Open the web client. Go to app.shlink.io in your browser. The client runs entirely in your browser and talks to your app directly.
- Add your server. Choose Add a server, give it a name, and enter your app's full address and the API key from Sign-in details on the app's page in Cottage:
https://<your app>.cottagehost.com
The key is stored only in that browser. Repeat this on each computer or browser you use. 3. Create a short link. Choose Create short URL, paste the long address, and optionally pick a custom slug, tags, or a start and end date. Your short link is your app's address followed by the slug. 4. Use your own domain (recommended). Short links are shorter and more trustworthy on a domain of your own. Add one on the app's page in Cottage (Custom domains). Links you create keep working on both addresses; see the questions below. 5. Watch the visits. Each short link's Visits page shows when it was opened, from where it was referred, and which browsers and operating systems visitors used.
Visiting your app's address on its own shows a 404 page. That's expected: only short links answer there.
Frequently asked questions
Do my short links work on my custom domain?
Yes. When someone opens a slug on a domain Shlink doesn't know as its default, Shlink falls back to the short links of the default domain, which is your Cottage address. So https://go.example.com/abc and https://<your app>.cottagehost.com/abc lead to the same place. The links the web client shows still use the Cottage address; swap in your domain when you share them.
Why don't visits show a country or city?
Shlink needs a MaxMind GeoLite2 licence key to look up where visitors are, and this app isn't set up with one. Visits are still counted, with their date, referrer, browser and operating system.
Can I make a QR code for a link?
Yes. In the web client's list of short URLs, open a link's menu and choose the QR code option. You can download it as an image.
Can I use Shlink from other tools?
Yes. Shlink has a REST API, and the API key works for it too. Third-party tools that support Shlink ask for the same address and key. Keep the key private: anyone with it can create and delete links. The Shlink docs describe the API.
Can I give someone access without sharing my key?
Not from Cottage. Extra API keys can only be created with Shlink's command-line tools, which aren't available on Cottage. If you need one, contact support at support@cottage.host.
How do I move my data out?
In the web client's list of short URLs, choose Export for a CSV of your links. Cottage also takes a nightly backup of the whole app, including the visit history, and keeps 14 days of them; download one from Backups on the app's page in Cottage (Backups and export).
Is Shlink updated automatically?
Yes. Cottage installs new versions in the update window you choose, after testing them first.
Troubleshooting
The web client says it can't connect to the server
- Check the address: it must start with
https://and have nothing after the domain. - Copy the API key from Sign-in details on the app's page in Cottage again, with no spaces around it.
- Check that the app is running (see Health on its page in Cottage), and open
https://<your app>.cottagehost.com/rest/healthin your browser: it should answer with a short status message. - If you use Cottage's access controls, an IP allowlist or password gate also blocks the web client. Allow your address, but keep in mind that a gate also blocks everyone opening your short links.
My saved server disappeared from the web client
The client keeps servers in your browser's storage, so clearing site data or switching browsers removes them. Add the server again with the address and API key from the app's page in Cottage. Your links are safe on your app.
A short link shows a 404 page
Check the slug's spelling; slugs can be case sensitive. Also check whether the link has an end date or a maximum number of visits that has passed. If it's on a custom domain, make sure the domain is verified on the app's page in Cottage and its DNS points to Cottage.
The app is slow or restarts
Shlink is light, but heavy traffic to popular links adds up. Use Change size on the app's page in Cottage to give the app more memory, and check the Technical log under Advanced there for errors.
Still stuck?
Email support@cottage.host. A person reads every message. If something seems down, check Cottage's status page.