| 开发者 | khrlzhfr |
|---|---|
| 更新时间 | 2026年11月28日 15:27 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/blog/* with ${1} in the target to reuse what matched.wp-content/uploads/redirects/ (each site's own uploads folder on multisite), protected from direct downloads on Apache.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.
wp-config.php:define( 'RFCF_CONFIG', [ 'token' => 'cfut_your-api-token', 'domains' => [ 'example.com' ], ] );description, source, target, status, preserve_query_string, enabled. Only source and target are required. Use the Setup tab or download the template for an example.
Yes. Share the sheet so anyone with the link can view it, paste its link under Import from URL on the CSV Rules tab and select Import. The tab in the link is used. Import again whenever you change the sheet; the address is remembered. Rows are checked first, and if any row has a problem nothing changes.
No. CSV rules run inside WordPress, so they don't apply to pages served from a page cache or to files such as PDFs. Use Cloudflare Rules for those.
Yes. Each site has its own CSV file and change log. In wp-config.php, top-level settings apply to every site, and an entry keyed by site ID overrides them for that site.
Zone → Single Redirect → Edit, and Zone → Zone → Read, limited to the domains the site should manage.
khrlzhfr-simple-csv-redirects-with-cloudflare. To switch a site, install this version, then delete the old copy: settings and data are kept.