Title: Flex Redirects
Author: Flex Plugins
Published: <strong>August 13, 2026</strong>
Last modified: August 13, 2026

---

Search plugins

![](https://ps.w.org/flex-redirects/assets/banner-772x250.png?rev=3645740)

![](https://ps.w.org/flex-redirects/assets/icon-256x256.png?rev=3645740)

# Flex Redirects

 By [Flex Plugins](https://profiles.wordpress.org/flexfields/)

[Download](https://downloads.wordpress.org/plugin/flex-redirects.1.3.0.zip)

 * [Details](https://wordpress.org/plugins/flex-redirects/#description)
 * [Reviews](https://wordpress.org/plugins/flex-redirects/#reviews)
 *  [Installation](https://wordpress.org/plugins/flex-redirects/#installation)
 * [Development](https://wordpress.org/plugins/flex-redirects/#developers)

 [Support](https://wordpress.org/support/plugin/flex-redirects/)

## Description

**Flex Redirects** sends visitors from an old path to a new URL before the theme
loads. Use it after migrations, slug changes, or when you retire pages.

 * Exact, prefix, and regex matching
 * Regex targets can reuse capture groups with `$1` or `${1}`
 * 301, 302, and 307 status codes
 * Optional query-string matching and passthrough
 * Hit counters per redirect
 * Hits Log with referrer, IP, user agent, and logged-in user (latest 5000)
 * Optional 404 logging (latest 1000 HTML/permalink paths)
 * CSV import (upsert) and export
 * Dry-run tester for a path or URL
 * Sortable columns and pagination on every list
 * Clean uninstall removes tables and options

No remote calls. Rules and logs stay in your WordPress database. CSS and JavaScript
are loaded from this plugin only.

#### Privacy

Flex Redirects stores redirect rules and optional 404 paths in your WordPress database.

When **Log redirect hits** is enabled (on by default), it also stores per-hit visitor
data: IP address, HTTP referrer, user agent, and WordPress user ID if the visitor
is logged in. Only administrators can view this log. Disable the setting if you 
do not need visitor-level history; aggregate Hits counters still update.

The plugin does not send data to external servers and does not load third-party 
scripts.

## Installation

 1. Upload the `flex-redirects` folder to `/wp-content/plugins/`, or install the zip
    via **Plugins  Add New  Upload Plugin**.
 2. Activate **Flex Redirects**.
 3. Go to **Flex Redirects  All Redirects** and add your first rule.
 4. Confirm with **Tools  Test a path**, or visit the old URL in a private window.

## FAQ

### Does this replace an SEO plugin?

No. Use Flex Redirects for URL redirects. Pair it with Flex SEO (or another SEO 
plugin) for titles, meta tags, and sitemaps.

### How do regex replacements work?

Use match type Regex with a pattern such as `^/blog/(.*)$` and a target like `/news/
$1`. Enter the pattern without `#` delimiters. Invalid patterns are rejected when
you save.

### Can I redirect to another domain?

Yes. Put a full `https://` URL in Target. Only `http` and `https` destinations are
allowed.

### What is stored in the Hits Log?

Time, source, target, status code, logged-in user (or Guest), referrer, IP, and 
user agent. The log keeps about the latest 5000 rows. Turn it off under Settings
if you do not need that history.

### Will this conflict with another redirect plugin?

Possibly. If two plugins try to redirect the same path, the one that runs first 
wins. Disable overlapping rules, or use **Tools  Test a path** to see what Flex 
Redirects would do.

### What happens when I uninstall?

Deleting the plugin drops the redirect tables, hits log, 404 log, and settings. 
Deactivating alone keeps your data.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Flex Redirects” is open source software. The following people have contributed 
to this plugin.

Contributors

 *   [ Flex Plugins ](https://profiles.wordpress.org/flexfields/)

[Translate “Flex Redirects” into your language.](https://translate.wordpress.org/projects/wp-plugins/flex-redirects)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/flex-redirects/), check
out the [SVN repository](https://plugins.svn.wordpress.org/flex-redirects/), or 
subscribe to the [development log](https://plugins.trac.wordpress.org/log/flex-redirects/)
by [RSS](https://plugins.trac.wordpress.org/log/flex-redirects/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.3.0

 * WordPress.org submission hygiene: http(s)-only destinations, no inline JavaScript,
   CSV size/row limits.
 * About page links only to Flex plugins already listed on WordPress.org.
 * Sync Stable tag with plugin version; expand readme privacy and FAQ.

#### 1.2.2

 * Align sort arrows with column headers.

#### 1.2.1

 * Sortable columns and always-visible pagination (20/50/100 per page) on All Redirects,
   Hits Log, and 404 Log.

#### 1.2.0

 * Add Hits Log: each redirect with user, referrer, IP, and user agent.
 * Setting to enable/disable hit logging (keeps latest 5000 rows).
 * Link rule hit counts on All Redirects into the filtered Hits Log.

#### 1.1.1

 * Exact rules with a query string match on the path when “Ignore query string” 
   is on.
 * Prefix rules append the unmatched suffix (folder move) and reject source /.
 * Redirect GET/HEAD only; skip login, feeds, and the Flex SEO sitemap.
 * Insert query strings before URL fragments; validate regex on save; upsert 404
   hits.
 * Expand the Usage page with match types, query strings, 404 log, CSV, and tester
   details.

#### 1.1.0

 * Fix regex sources, prefix path boundaries, subdirectory installs, and query-string
   matching.
 * Skip self-redirects and in-request loops; continue to the next rule.
 * CSV import upserts by source and match type; schema upgrades on plugin update.
 * Add regex `$1` targets, query passthrough, 404 static-file filter, pagination,
   and a dry-run tester.

#### 1.0.2

 * Refreshed admin UI with a cleaner, card-based layout (local CSS only).

#### 1.0.1

 * Fix admin layout overlap on the redirects screen.

#### 1.0.0

 * Initial release.

## Meta

 *  Version **1.3.0**
 *  Last updated **1 day ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.2 or higher **
 *  Tested up to **7.0.4**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [301](https://wordpress.org/plugins/tags/301/)[404](https://wordpress.org/plugins/tags/404/)
   [redirect](https://wordpress.org/plugins/tags/redirect/)[seo](https://wordpress.org/plugins/tags/seo/)
   [urls](https://wordpress.org/plugins/tags/urls/)
 *  [Advanced View](https://wordpress.org/plugins/flex-redirects/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/flex-redirects/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/flex-redirects/reviews/)

## Contributors

 *   [ Flex Plugins ](https://profiles.wordpress.org/flexfields/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/flex-redirects/)