kURL – Short URL Manager for YOURLS
Connect WordPress to a self-hosted YOURLS instance to create, sync, manage, and track short URLs from the admin area.
Solid choice
kURL is a solid plugin choice in 2026, with a few things worth checking first. It runs on 50+ sites, is rated 5/5 and was last updated 2 weeks ago, and scores 79/100 on our health check.
- Actively developed — last update 2 weeks ago
- Tested with the latest WordPress (7.1)
- Small user base (50+ active installs)
- Very few reviews so far
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where kURL stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| custom links | >100 |
| shortlinks | #29 |
| url shortener | #11 |
| yourls | #1 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 5 from 2 reviews
About kURL – Short URL Manager for YOURLS
From the official readme · v1.1.0Description
kURL connects your WordPress site to your self-hosted YOURLS installation.
The name kURL combines kurz URL — “short URL” in German — with the familiar term URL. In other words, kURL is built for creating and managing short URLs from WordPress.
It lets you create short URLs for posts, pages, and supported custom post types directly from the WordPress admin area. You can generate links manually, create them automatically when content is published, assign custom keywords, refresh click statistics, and process older content in bulk.
kURL also includes migration tools for links created with YOURLS Link Creator, Better YOURLS, and Ozh’s YOURLS plugin, local logging for troubleshooting, and optional helper code for true remote deletion and safe reverse lookup on the YOURLS side.
Requires a self-hosted YOURLS installation with API access. No third-party shortening service is included.
External service and data sent
kURL communicates only with the self-hosted YOURLS API endpoint configured by a WordPress administrator. Depending on the action, WordPress sends the YOURLS signature token, the target URL, an optional title or keyword, or an existing short URL. These data are used to create, inspect, edit, regenerate, or delete links and to retrieve click statistics. The plugin developer does not operate an intermediary service, receive these requests, or add tracking. Storage and processing on the YOURLS server are controlled by that server’s operator and configuration.
kURL stores logs under wp-content/uploads/kurl-short-url-manager-yourls/ with a non-guessable filename and Apache/IIS deny files. If your server uses Nginx, add a deny rule for that directory because Nginx does not read .htaccess.
Features
- Create short URLs from the WordPress editor.
- Automatically create short URLs when content is published.
- Use custom keywords when creating short URLs.
- Generate short URLs manually for any target URL from the dashboard.
- Refresh and store click statistics from YOURLS.
- View saved links, latest links, top links, and recent YOURLS activity in the dashboard.
- Bulk-generate short URLs for existing content in AJAX batches.
- Use and import links from YOURLS Link Creator, Better YOURLS, and YOURLS: WordPress to Twitter.
- Show the short URL anywhere with
wp_get_shortlink(), the[kurl_shortlink]shortcode, or thekurl_get_shortlink()template tag. - Optional versioned YOURLS helper extension for remote deletion, safe long-URL lookup, and non-destructive regeneration.
- Activity and error logging for troubleshooting.
- Optional short URL column in WordPress content list screens.
- Experimental sync and cleanup tools.
Credits
French translation: Norbert Jung.
Installation
- Upload the
kurl-short-url-manager-yourlsfolder to the/wp-content/plugins/directory, or install the plugin through the WordPress admin. - Activate the plugin through the Plugins screen in WordPress.
- Go to kURL → Settings in the WordPress admin menu.
- Enter your YOURLS domain or API endpoint and your YOURLS signature token.
- Choose the post types for which kURL should be enabled.
- Save the settings.
- Click Test API to verify the connection.
For remote deletion, safe reverse lookup, and safe regeneration, use the helper installation section under kURL → Settings. The helper is bundled inside the WordPress plugin: download its plugin.php directly from that page or copy the displayed code. No separate helper ZIP is required. kURL automatically verifies the installed helper after a plugin update and disables helper-dependent actions until the bundled version and capabilities are detected.
By default, kURL uses WordPress’s safe HTTP client, which rejects private and loopback API addresses. If WordPress and YOURLS intentionally communicate over a private network, an administrator can opt in to that endpoint with the kurl_allow_private_api_url filter after reviewing the SSRF implications.
Changelog
Security update for the optional YOURLS helper: replace plugin.php on your YOURLS server with version 1.1.6 from kURL → Settings. Helper actions stay disabled until then. Also fixes wp_get_shortlink() in themes and the migration from YOURLS Link Creator and Better YOURLS.
1.1.0
Security – replace the YOURLS helper. kURL Helper 1.1.6 requires valid YOURLS authentication (signature token, or username and password) for every action. Helper 1.1.5 and older relied on YOURLS’s API access control; on installations with a public API (YOURLS_PRIVATE false, or YOURLS_PRIVATE_API false while the admin area stays private) anyone could delete links or point existing keywords to other targets. Download the new plugin.php under kURL → Settings. Until then kURL disables all helper actions.
Shortlinks and output
* Fix: A bare wp_get_shortlink() call in a theme template (for example a footer) now returns the kURL short URL. The filter resolves posts exactly like WordPress: query uses the displayed post, post with ID 0 uses the current post, and other contexts (for example a site ID) are left alone.
* New: Setting WordPress shortlink with three modes: use the kURL URL unless another plugin already provides a shortlink (default, also respects a deliberately empty shortlink), always use the kURL URL, or keep the WordPress shortlink. It is read per call (correct per site on multisite) from a small autoloaded option, so front-end requests need no extra query.
* New: [kurl_shortlink] shortcode and the template tags kurl_get_shortlink() and kurl_the_shortlink().
* New: After user-triggered changes kURL purges the post in WP Rocket (rocket_clean_post()) and fires kurl_shortlink_changed for other caches.
Safety of changes
* Fix: A confirmed “Unlink locally” could turn into a remote deletion when a background check had found the helper in the meantime. The editor now sends the confirmed scope and the short URL that was shown, for remote and local unlinking alike; the server refuses if either is missing or no longer matches and never widens a local unlink.
* Fix: Unlinking removed only kURL’s own field, so a link from YOURLS Link Creator or Better YOURLS reappeared as the post’s short URL. Legacy fields holding the same URL are now deleted; legacy fields with a different link are kept for the migration tools but are no longer shown as the post’s short URL.
* Fix: Two overlapping actions on the same post (two tabs, an editor action during a bulk run, auto-create during a manual update) could store a link the other action had just deleted. Every action on a post now holds a short database lock; on multisite the lock belongs to the site it was taken on.
* Fix: When the check for other posts using the same short URL fails because of a database error, the action stops with a message instead of treating the URL as unused; bulk runs skip the post.
* Fix: kURL writes the short URL first, verifies that it was actually stored, and only then updates keyword and statistics. If WordPress could not save it, kURL reports the YOURLS link instead of leaving half-updated data.
* Fix: “Disconnect API” saved the settings instead of disconnecting (submit_button() sends its label as the value).
* Fix: “Test API” and the background helper check could overwrite settings saved in another tab. The helper status now lives in its own option bound to the saved API URL and signature, so it never touches the settings and is discarded automatically when the credentials change.
Migration from YOURLS Link Creator, Better YOURLS, and Ozh’s plugin
* Fix: The migration labelled “Better YOURLS” only read YOURLS Link Creator’s _yourls_url. kURL now reads and imports _yourls_url, _better_yourls_short_link, and yourls_shorturl, and shows how many posts each source holds.
* Fix: The import counted a write that WordPress had rejected as “imported”. It now reports imported, skipped, conflicting (several different legacy links), and failed posts separately, and works in blocks of 500 posts.
* Fix: “Delete legacy plugin data” removed all legacy rows. It now deletes a legacy link only where kURL stores exactly the same URL, keeps everything else, and reports how many posts were kept. Custom keys added for reading (kurl_legacy_meta_keys) are only deleted when also added to kurl_legacy_cleanup_meta_keys. The Better YOURLS settings are deleted only when no Better YOURLS link is left.
* Fix: If a database query fails during import or cleanup, the migration stops and says so instead of reporting “nothing to migrate” or deleting settings.
Publishing, performance, stability
* Fix: Automatic creation on publish now runs on wp_after_insert_post. With the block editor, transition_post_status fired before categories were saved, so %category% permalinks could be shortened with the wrong term.
* Performance: Local cleanup and migration read only the relevant meta keys in batches instead of loading every meta row of every post (prevents memory exhaustion on page-builder sites).
* Performance: Bulk and reconciliation batches stop after 20 seconds of wall-clock time and continue in the next request, below proxy limits such as Cloudflare’s 100 seconds (kurl_batch_time_budget).
* Performance: When YOURLS is unreachable or answers with a server error, the dashboard stops after the first request and remembers the failure for two minutes. New “Refresh YOURLS data” button; manual dashboard actions refresh the statistics.
* Fix: Secrets echoed back by YOURLS or a proxy are redacted in all messages and log entries, also on display of older entries.
* Fix: Log entries older than seven days are deleted from disk (daily and when the Logs screen opens). Rotation and appending run under one file lock.
* Fix: On multisite, settings no longer leak between sites after switch_to_blog(); uninstall cleans every site on which data deletion is enabled.
* Fix: Deselecting all post types now really disables kURL for all of them; settings saved by earlier versions keep their behavior.
* Fix: A cached click count is removed when a post switches to a different short URL.
* Fix: Shortlink and publish callbacks accept loosely typed arguments from third-party code instead of throwing a TypeError; repeated Content-Type headers no longer turn into “Array”.
* Titles are sent to YOURLS as plain text (no – or “Protected:”), URL comparisons ignore scheme and host case, binary comparisons use CAST(... AS BINARY) instead of the BINARY operator deprecated in MySQL 8.0.27, and text that is not a URL is no longer accepted as one.
* Warns when the API URL uses unencrypted HTTP and explains when WordPress’s safe HTTP client rejected the address.
* Admin status colors are scoped to kURL screens; long bulk logs keep the newest 1,000 rows in the browser.
* New filters and actions: kurl_replace_wp_shortlink, kurl_override_existing_shortlink, kurl_auto_create_on_publish, kurl_legacy_meta_keys, kurl_legacy_cleanup_meta_keys, kurl_get_shortlink, kurl_shortlink_html, kurl_batch_time_budget, kurl_shortlink_changed.
* Improvement: When YOURLS rejects the signature token, kURL says so and explains what to do instead of pointing to a firewall. A saved 10-character token is recognized as the format used before YOURLS 1.10.5, which replaced it with a longer token.
* Completed the German translation, switched it consistently to the informal address used by WordPress’s de_DE locale, and added missing translator comments.
1.0.9
- WordPress 7.1 compatibility maintenance; no functional behavior was changed.
- Reviewed against the WordPress 7.1 editor iframe, client-side image processing, and jQuery UI changes; those code paths are not used by the plugin.
1.0.8
- Performance: Load the large admin and bulk classes only for WordPress admin, AJAX, and admin-post requests.
- Performance: Helper-version verification now runs through protected background AJAX after admin pages render instead of blocking the page-load path.
- Safety: Helper-dependent mutations keep their server-side verification gate; background status changes update the visible controls without reloading or discarding unsaved editor/settings changes.
1.0.7
- Treats YOURLS
error:urlresponses containing a valid existing short URL as a usable result whether YOURLS delivers them with HTTP 200, 400, or 409. This improves compatibility across YOURLS releases and prevents false creation failures when a long URL already exists. - Completes the bundled German translation for the current administration interface.
- The bundled YOURLS helper remains version 1.1.5; no helper update is required for this WordPress-side API fix.
1.0.6
- Prevents a saved YOURLS signature from being reused or transmitted when the API endpoint is changed without entering the new endpoint’s token.
- Normalizes all API requests to a query-free
yourls-api.phpendpoint so URL parameters cannot override the authenticated POST action or response format. - Requires the exact bundled helper version and capabilities before helper-dependent actions run; helper 1.1.5 is included in this release.
- Blocks dashboard deletion, regeneration, and in-place updates while a short URL is referenced by WordPress posts.
- Validates target and short URLs as complete HTTP(S) URLs throughout the plugin and rejects ambiguous encoded keywords before remote mutations.
- Makes helper deletion and regeneration check the exact extracted keyword rather than a potentially different full-URL host alias.
- Adds stricter helper URL validation and GPL metadata, retains the complete bounded log window, removes invalid local URL metadata atomically, and guarantees temporary query filters are removed.
- Keeps editor keyword fields synchronized with the actual keyword returned by YOURLS and uses an accurate confirmation message for dashboard-only deletion.
- Documents the administrator-configured YOURLS service and the data sent to it, handles common pasted YOURLS admin/API URLs, preserves a working connection when a malformed replacement endpoint is submitted, validates regeneration and dashboard statistics URLs through the same central HTTP(S) rules, and reports invalid URL records removed by cleanup.
- Makes helper 1.1.5 refuse delete, preferred-lookup, and regeneration requests whose supplied short URL is not recognized by the configured YOURLS installation, preventing an unrelated host with the same final path segment from identifying a destructive target.
- Locks bulk post type, batch size, and overwrite mode while a batch job is running so one job cannot switch data sets or mutation policy between requests.
- Rejects array-shaped request fields and malformed capability lists cleanly on both WordPress and YOURLS, instead of allowing PHP warnings or type errors to corrupt an API response.
- Removes the WordPress site URL from the outbound API user agent, invalidates legacy metadata caches through the WordPress metadata API, and refuses symlinked log paths during cleanup.
- Detects equivalent stored short-URL spellings before mutations, waits for an in-flight AJAX batch to finish before a stopped job can restart, bounds helper verification requests, and prevents cookies or malformed stored/remote values from influencing helper actions.
1.0.5
- Bundles the YOURLS helper source inside the single WordPress plugin package and serves it from Settings as an installable
plugin.phpfile. - Adds a protected Download bundled plugin.php button and retains the copy-to-clipboard option on the Settings page; no separate helper ZIP is needed.
- Automatically rechecks the helper immediately after every kURL update and at least once per day.
- Revalidates the helper within a short window before helper-dependent actions, instead of trusting an old saved detection flag.
- Compares the installed helper version and advertised capabilities with the version bundled in the current WordPress release.
- Disables remote deletion, reverse lookup, regeneration, overwrite, and helper-based reconciliation when the helper is outdated, unversioned, incomplete, or no longer reachable.
- Shows an administrator notice with a direct link to the built-in helper installation/update instructions when an outdated helper is detected.
Screenshots
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best kURL alternatives
All custom links plugins →FAQ
kURL – Short URL Manager for YOURLS: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is kURL free?
Yes. kURL is free to download and use from the official WordPress.org plugin directory.
Is kURL safe to use in 2026?
kURL is a solid plugin choice in 2026, with a few things worth checking first. It runs on 50+ sites, is rated 5/5 and was last updated 2 weeks ago, and scores 79/100 on our health check.
How many websites use kURL?
kURL is active on 50+ WordPress websites and has been downloaded 1,282 times since it launched in May 2026. It was downloaded 452 times in the last 30 days.
Does kURL work with WordPress 7.1?
Yes. The developer has tested kURL up to WordPress 7.2, the latest release. It requires WordPress 6.0 or newer.
What PHP version does kURL need?
kURL requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was kURL last updated?
The latest version, 1.1.0, was released on November 22, 2026 (2 weeks ago).
Who makes kURL?
kURL is developed and maintained by Gerald Drißner.
What are the best alternatives to kURL?
The most popular alternatives to kURL are Custom links in Elementor I… (5K+ installs), Custom Sidebar Links (70+ installs) and Comment Link Suggest-O-Tron (10+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
