跳到内容

Novelience Redirects

v1.2.7

novelience · 2026年11月26日 上架

Imports, serves and exports an exact CSV redirect map after rejecting loops, duplicates, unsafe targets and cross-domain redirects.

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

贡献者

Novelience Redirects keeps legacy URLs working after a migration or a change of site structure. Every old address receives one explicit destination, checked before the map goes live.

  • Imports a CSV map from Tools > Redirects.
  • Rejects malformed rows, duplicate normalized sources, user-info URLs, cross-domain redirects, self-redirects and loops before replacing anything.
  • Collapses redirect chains to their final target, so visitors and search engines reach the destination in a single redirect. Chains with a query or fragment on an intermediate target are rejected.
  • Replaces the map in one database transaction: a refused import leaves the active map untouched.
  • Reports how many redirects were added, changed and removed by each import.
  • Exports the active map as CSV, in the exact format the import accepts.
  • Matches the host and path exactly at request time, with and without the www. prefix, and revalidates every target before redirecting.
  • Lists and searches the active map with pagination.
  • Includes a complete French translation.

The map is stored in a dedicated table of the site database. The plugin needs no external service or account.

CSV format

The file needs the columns source_url, target_url and decision. Rows are imported when decision is redirect_301; other rows are ignored. An optional reason column is kept as a note. Source URLs must not carry a query string or a fragment, and the target must stay on the same domain as the source.

source_url,target_url,decision,reason
https://example.com/old-page,https://example.com/new-page/,redirect_301,Site restructuring

Advanced edition

Redirect Map Manager, the advanced edition published by Novelience, reads the same CSV files and adds:

  • an import history with the author, file checksum, note and per-row changes of every import;
  • Nginx map and Apache RedirectPermanent exports to serve the map from the web server;
  • WP-CLI commands to import, export and review the history in scripted migrations.

Details are available at novelience.com.

Developed and maintained by Novelience.

Plums

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

导航

说明

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

© 2026 Plums