跳到内容

khrlzhfr Simple CSV Redirects with Cloudflare

v1.2.0

Khairil Zhafri · 2026年11月25日 上架

Manage redirects as CSV rules in WordPress, and optionally as Cloudflare Single Redirect rules, from Tools → Redirects.

正在使用
10 以下
评分
暂无
累计下载
39
最近更新
2026年11月25日
需要 WordPress 6.4+已测试到 7.1.5PHP 7.4+

贡献者

khrlzhfr Simple CSV Redirects with Cloudflare gives you two ways to manage redirects from one screen under Tools Redirects:

  • CSV Rules – unlimited redirects kept in a single CSV file and applied by WordPress. Add, edit, reorder, enable, disable and delete rules in WordPress, or download the CSV, edit it in a spreadsheet and upload it again.
  • Cloudflare Rules (optional) – manage Cloudflare Single Redirect rules for your domains, which redirect at Cloudflare’s edge before a request reaches your server.

Every change is recorded in a Change log with who made it, when, and the before and after values.

CSV Rules

  • Wildcards: /blog/* with ${1} in the target to reuse what matched.
  • Status codes 301, 302, 303, 307 and 308.
  • Optionally pass the visitor’s query string on to the target.
  • Rules are checked from top to bottom; the first match wins.
  • Uploads are checked row by row before anything changes.
  • The file is kept in wp-content/uploads/redirects/ (each site’s own uploads folder on multisite), protected from direct downloads on Apache.

Cloudflare Rules

Add a Cloudflare API token and your domains to wp-config.php and a Cloudflare Rules tab appears, where you can add, edit, reorder, enable, disable and delete Single Redirect rules. The screen shows how many rules each domain’s plan allows.

Who can use it

Administrators and editors by default. You can change the roles per site in wp-config.php.

External services

This plugin can connect to the Cloudflare API (https://api.cloudflare.com/client/v4) to list and change Single Redirect rules for your domains. This only happens if you add a Cloudflare API token to wp-config.php, and only when someone with access opens the Cloudflare Rules tab or changes a rule there.

It sends your API token, your Cloudflare zone (domain) names or IDs, and the redirect rules you create or change. Nothing is sent if no token is configured.

Cloudflare’s Terms of Use and Privacy Policy apply.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums