WordPress plugin · Open source
Clean Short Links
Short links and QR codes on your own domain – with start and expiry dates, targets that change by date and time, and statistics that store nothing about visitors.
- v0.5.8
- GPL-2.0
- WordPress 6.4+
- PHP 8.0+
- Multisite
Why your own short links?
For posters, flyers and posts I keep needing short addresses that people can type or scan. The usual services for this sit with third-party providers, track every click with all sorts of data and can hardly be changed later. And a printed QR code then leads to the same place forever.
Clean Short Links puts the short links right on your own website: couch-blog.de/s/… for links and couch-blog.de/q/… for QR codes. What's behind them is decided by WordPress the moment someone clicks or scans – the code on the poster stays the same, the target can change.
Random, easy to remember or your own choice – on your own domain
Start and expiry dates, targets by date, weekday and time
QR codes with logo, custom colors and call to action – as SVG, PDF or PNG
Statistics without IP addresses, without cookies and without third-party services
What it can do
- Short addresses of your choice: random without easily confused characters (
k7mq4), easy to remember from two words (blaue-couch), from the title or entirely your own. Posts and pages are tracked by their ID – the short link keeps working even if their address changes. - Short form without prefix: If you like,
couch-blog.de/blaue-couchworks too. It only kicks in where the website has no content – existing pages always take precedence, so there are no collisions. - Time window and click limit: Start immediately, from a date or when the post is published, plus an expiry date and optionally a maximum number of visits. Before and after, the link leads to a fallback page, to a default target of the website – or honestly says “not found”.
- Changing targets: Rules by period, weekday and time – by hand or from an iCal file or calendar subscription. During the festival the QR code leads to the program, in the evening to the stage and afterwards to the photos, without reprinting anything.
- Invitation links: create as many individual links for a target group as you like from one short link, each with its own limit and expiry date – as a list to download.
- Link check: Once a day WordPress checks whether the short links respond and their targets are still reachable. If a target goes down, the fallback page steps in; if it's gone for longer, the link reports “temporarily unavailable” and after 30 days “no longer exists”.
- New address, the old one stays: A short link can get a new address at any time. The old one keeps working or is retired and never handed out again.
- QR codes as needed: with their own prefix so the statistics can tell scans from clicks. Logo or icon from the media library, colors, dots, connected shapes, rounded corners, a pill like “Scan me” and a transparent background.
- For social networks: Link previews with title, text and image straight from the post – without maintaining things twice –, share buttons, separate addresses per channel, UTM parameters and a simple link-in-bio page.
- Data-frugal statistics: Visits per day, by link, QR code and short form, by device and referring website – only daily totals are stored. Bots and link previews are left out.
- Right in the editor: In the sidebar of posts and pages you can create the short link and set the essentials – address, short form, pause, time window, click limit and check. When searching for links in paragraphs and buttons, the short links show up as suggestions.
- Together with Clean Maintenance: A shared rule per website determines whether short links redirect during maintenance, let their targets through or pause – and whether unreachable links show the maintenance page.
- In the dashboard and the network: a widget with the status of all short links and the broken ones, automatic short links on publishing, an import for existing links and a network overview with a card per website.
- Bilingual: in English and German; more languages are welcome.
New in 0.2.4: one link, many paths
A short link can now have more than one target and more than one address – and gets there even faster.
- Targets by device and screen: a QR code that sends iPhones to the App Store, Android phones to Google Play and everyone else to the website. The server recognizes device and system without storing any of it; screen widths are decided by the browser on a tiny intermediate page.
- NFC tags: Stickers, cards or key fobs open the short link as soon as a phone touches them. In Chrome on Android the plugin writes the tag directly, and the statistics count NFC separately from link and QR code.
- Locations: several posters or flyers for the same target each get their own address, like
…/s/sommer-bahnhof. That way the statistics show which location really gets used. - Subdomains without their own website: Short links like
about.couch-blog.de/sommer, without creating websites for them. The home page of such a subdomain can lead to a page on the main site. - Address below the QR code: optionally, the short link appears in plain type below the code – for everyone who can't scan.
- Faster and leaner: Short links are answered before WordPress loads the theme, and counting only happens once the visitor has already been redirected. Prefetching and bots don't count, and anyone sending “Do Not Track” or “Global Privacy Control” is counted without a referring website.
- Search across the whole network and a layout that also fits on a phone in landscape.
What the QR codes can look like
The QR code is only generated when it's needed – right in the browser, with no third-party service. The address is written in uppercase in the code: the QR standard has a compact mode for that, so the code gets coarser and scans reliably even with a logo in the middle. For print there are SVG and PDF as vector files.

Everything at a glance
The admin looks like Clean Maintenance: key figures at the top, below them the visits of the last 30 days and a card per short link. When editing, tiles guide you through the decisions, and at the very top it says where the link currently leads.


Where things stand
Clean Short Links is still below version 1.0 – so things may still change. It runs across the entire Couch Blog network and is checked automatically with every change: with tests on PHP 8.0 to 8.5, a test of the QR encoder and WordPress's official Plugin Check. Version 0.2.5 added a thorough security audit: additional domains can now only be chosen by website admins, blocked websites no longer redirect, password-protected posts reveal nothing in link previews, and click limits hold even with many simultaneous visits. Later, like Clean Maintenance, it's meant to go into the WordPress.org plugin directory.
How to get it
Clean Short Links is free under the GPL, just like WordPress itself. Requirements are WordPress 6.4 or later and PHP 8.0 or later.
- Download the current version as a ZIP file from GitHub .
- In WordPress, under
Plugins → Add New → Upload Plugininstall and activate it – in a network, ideally network-wide. - Under
Short Links → Add Newchoose a target, set the short address – done. The QR code is on the same page.
Get involved
Found a bug or have an idea? Feel free to open an issue on GitHub. And if you'd like to see Clean Short Links in your language: how translating works is explained in the guide for translators.