| 开发者 | geralddrissner |
|---|---|
| 更新时间 | 2026年7月31日 14:44 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
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
kurl-short-url-manager-yourls folder to the /wp-content/plugins/ directory, or install the plugin through the WordPress admin.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.The “k” stands for kurz, the German word for “short”. So kURL means “short URL”.
You need a self-hosted YOURLS installation with API access enabled and a valid signature token.
Log in to your YOURLS admin area, open Tools, and look for the secure passwordless API call section.
Yes. You can choose which public post types are enabled in kURL → Settings.
Yes. When a kURL short URL is saved for a post, the plugin filters WordPress shortlink output so the saved YOURLS URL can be used as the WordPress shortlink.
Yes. The dashboard includes a manual shortener where you can create or update a short URL for any target URL.
Only if the optional kURL Helper extension is installed on your YOURLS server. Without it, kURL can unlink the short URL locally in WordPress, but it cannot delete the original entry from YOURLS.
Yes. kURL includes migration tools for importing existing Better YOURLS data. Import first, verify a few posts, and only delete the old Better YOURLS data once everything looks correct.
They let you compare WordPress content with YOURLS, import matching short URLs into WordPress, and clean stale local meta data. On larger sites, create a database backup before applying reconciliation changes.
error:url responses 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.yourls-api.php endpoint so URL parameters cannot override the authenticated POST action or response format.plugin.php file.yourls_edit_link(). A failed replacement now leaves the existing short URL intact and preserves its click count.kurl_allow_private_api_url filter.WP_Query instances, preventing unrelated nested queries from inheriting the batch cursor.wp_parse_url) that does not exist on the YOURLS server; it now uses the native parse_url. Users who already installed the helper must replace its plugin.php file on the YOURLS server; updating the WordPress plugin alone does not update the separate YOURLS installation.