Description
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
mapand ApacheRedirectPermanentexports 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.
Installation
- Install and activate Novelience Redirects.
- Open Tools > Redirects as an administrator.
- Import your CSV map, then test an old address in a private browser window.
FAQ
How do I change or remove a redirect?
Export the map as CSV, edit the file, and import it again. Each import replaces the whole map; importing a file that contains only the header removes every redirect. Browsers can keep an earlier permanent redirect in cache while you test.
Which status code is used?
301 by default. Developers can choose 302, 307 or 308 with the novelience_redirects_status filter.
Who can manage the map?
Administrators with the manage_options capability. The novelience_redirects_capability filter can assign another capability.
Can I move to Redirect Map Manager later?
Yes. Export the map as CSV and import the same file into Redirect Map Manager. While both plugins are active, Redirect Map Manager answers first and Novelience Redirects still serves the paths it does not handle. Once the map is imported there, deactivate Novelience Redirects.
What happens when I delete the plugin?
Deleting the plugin from the Plugins screen removes its table and options. Export the map first to keep a copy. Deactivating the plugin keeps the map and stops the redirects.
Changelog
1.2.8
- CSV imports now succeed on sites running the SQLite Database Integration, including WordPress Playground and the plugin preview: there the import lock is a row of the site options, taken atomically and released after the import, instead of a MySQL advisory lock.
- The MySQL import lock carries the database name, so sites sharing a database server and a table prefix never wait for each other’s imports.
1.2.7
- The Tools > Redirects screen loads its styles from a stylesheet enqueued on that screen only, instead of an inline style element.
1.2.6
- First public edition on WordPress.org, built from the Redirect Map Manager 1.2.6 engine: atomic CSV import, validation, chain collapsing, CSV export and French translation.