Linux 软件免费装
Banner图

kURL – Short URL Manager for YOURLS

开发者 geralddrissner
更新时间 2026年7月31日 14:44
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

url shortener custom links shortlinks yourls

下载

1.0.0 1.0.1 1.0.2 1.0.8

详情介绍:

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 older Better YOURLS data, 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

安装:

  1. Upload the kurl-short-url-manager-yourls folder to the /wp-content/plugins/ directory, or install the plugin through the WordPress admin.
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Go to kURL → Settings in the WordPress admin menu.
  4. Enter your YOURLS domain or API endpoint and your YOURLS signature token.
  5. Choose the post types for which kURL should be enabled.
  6. Save the settings.
  7. 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.

屏幕截图:

  • kURL settings page for connecting WordPress to a self-hosted YOURLS installation and selecting supported post types.
  • Bulk generator for creating short URLs in AJAX batches.
  • kURL Shortlink box in the WordPress editor for custom slugs, generation, sync, and statistics refresh.

升级注意事项:

1.0.8 Admin pages no longer wait for helper verification. The bundled YOURLS Helper remains version 1.1.5, so users already on helper 1.1.5 do not need to replace it. 1.0.7 Improves compatibility when YOURLS returns an already-existing short URL. The bundled helper remains version 1.1.5 and does not need to be replaced when updating from 1.0.6. 1.0.6 After updating WordPress, replace the optional YOURLS helper with bundled version 1.1.5 from kURL → Settings. Helper-dependent actions remain disabled until that exact helper version and its capabilities are verified. 1.0.5 The helper remains optional and is included in the WordPress plugin package. If an older helper is detected on YOURLS, kURL blocks helper-dependent actions and directs the administrator to kURL → Settings, where the current plugin.php can be downloaded or copied. 1.0.4 Install the bundled kURL Helper 1.1.0 on the YOURLS server after updating WordPress. Unversioned helpers and versions older than 1.0.1 are blocked from remote deletion. Version 1.1.0 is required for non-destructive regeneration and all current safety checks. 1.0.3 Fixes remote deletion when using the kURL Helper. If you already installed the helper, replace its plugin.php file on the YOURLS server as well. 1.0.1 Updated bundled French translation. 1.0.0 Initial public release.

常见问题:

What does kURL mean?

The “k” stands for kurz, the German word for “short”. So kURL means “short URL”.

What do I need to use this plugin?

You need a self-hosted YOURLS installation with API access enabled and a valid signature token.

Where do I find my YOURLS signature token?

Log in to your YOURLS admin area, open Tools, and look for the secure passwordless API call section.

Does kURL work with posts, pages, and custom post types?

Yes. You can choose which public post types are enabled in kURL → Settings.

Does this plugin replace the normal WordPress shortlink?

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.

Can I create short URLs for URLs that are not WordPress posts?

Yes. The dashboard includes a manual shortener where you can create or update a short URL for any target URL.

Can I delete short URLs remotely from WordPress?

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.

Can I migrate from Better 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.

What are the experimental sync and cleanup tools?

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.

更新日志:

1.0.8 1.0.7 1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0