# Redirects for WordPress

> Manage 301, 302, 307 and 410 redirects, with regex rules, bulk import and an optional 404 log. Part of Toggleworks, one plugin for the whole site.

TW-COR-17 Core


Manage 301, 302, 307 and 410 redirects, with regex rules, bulk import and an optional 404 log.

[Get it from $26 a year](https://togglework.app/pricing/#plans) [Try it in the demo](https://togglework.app/demo/)

Redirects

**Part number**
: TW-COR-17
**Section**
: [Core](https://togglework.app/features/core/)
**Settings**
: 8 (5 on/off)
**Starts**
: Switched off
**In plans**
: Every plan

## Why it matters

Every time a URL changes (a renamed slug, a deleted page, a restructured shop), links from other sites, bookmarks and search results start leading to a 404. Visitors leave, and the page’s search ranking is lost. A redirect sends people and search engines to the new address and carries the ranking with it.

### What it does

- 301, 302, 307 and 410 redirects, with regex rules and bulk import.
- Adds a 301 automatically when a published post’s slug or parent changes.
- Suggests a redirect to the closest page when you trash a published one.
- An optional 404 log, grouped by path, to turn the most-hit errors into redirects.
- Ignores query strings when matching, so /old?utm\_source=x still redirects.

![Redirects settings screen in the Toggleworks WordPress plugin, showing Ignore query strings when matching, Pass the query string on to the target, Send every other 404 to, Fallback URL](https://togglework.app/wp-content/themes/toggleworks-site/assets/img/parts/core-redirects.webp?v=1795524170)

The Redirects screen in wp-admin, where you switch it on and change its settings.

## Set it up

1. Switch Redirects on. Automatic redirects for changed slugs are on by default.
2. Turn on the 404 log for a few weeks and redirect the most common paths.
3. Moving from another redirect plugin? Paste its rules into bulk import, one per line: source, target, code.

## What you can set

Switch Redirects on in Toggleworks → Core, then adjust any of these. Each one starts with a default, so you can switch the part on first and fine-tune later.

- Ignore query strings when matching
- Pass the query string on to the target
- Send every other 404 to
- Fallback URL
- Redirect automatically when a published address changes
- Suggest a redirect when a published page is trashed
- Log 404 errors
- Paths to keep

## Good to know

- Don’t send every 404 to the home page. Search engines treat that as a “soft 404”.
- Use 410 for pages that are gone for good with no replacement.

[Guide: The technical WordPress SEO checklist](https://togglework.app/guides/wordpress-seo-checklist/)

## One less plugin to install

Redirects does a job people often install a separate plugin for:

- Redirects and 404 handlingOften done with Rank Math
- 301 and 302 redirectsOften done with Redirection

## Comes with 187 more parts

Redirects is one part of Toggleworks, a single plugin for security, speed, SEO, backups, email and store tools. Switch on what your site needs; the rest stays off and loads nothing.

[All 27 Core parts](https://togglework.app/features/core/)

### People also look for it as

- redirect
- 301
- 302
- 410
- 404
- regex
- seo
- broken links

## Often switched on with it

- [Broken Link Checker](https://togglework.app/features/seo/broken-links/) — TW-SEO-01 · Checks every link in your posts and pages in the background and lists the broken ones, with one-click unlink or redirect. · 4 settings
- [Login & Logout Redirects](https://togglework.app/features/security/login-redirects/) — TW-SEC-10 · Choose where each role lands after logging in or out, and optionally keep non-admins out of the dashboard. · 10 settings
- [Short Links](https://togglework.app/features/core/short-links/) — TW-COR-23 · Make short, memorable links like yoursite.com/go/offer that forward anywhere, and see how many times each one is clicked. Handy… · 4 settings
- [AI Alt Text](https://togglework.app/features/ai/alt-text/) — TW-AI-05 · Write descriptive alt text for images automatically on upload, with a one-click button in the media library and a bulk tool for… · 4 settings
- [AI Internal Links & Image Finder](https://togglework.app/features/ai/content-helpers/) — TW-AI-10 · Suggest internal links to your other pages (and insert them in one click), and find a free, openly licensed featured image for… · 2 settings
- [AI Site Audit](https://togglework.app/features/ai/site-audit/) — TW-AI-18 · Scan your most important pages for SEO, accessibility and speed issues, then get a prioritised, plain-English fix list written by… · Own screen in wp-admin

## Questions

**Is Redirects included in every Toggleworks plan?**

Yes. Every plan includes all 188 parts, Redirects among them. Plans differ only in how many sites you can use them on, and staging or local copies of a site don’t count.

**Does Redirects slow my site down when it’s switched off?**

No. Every part starts switched off, and a part that is off loads none of its code. Switch on Redirects only if your site needs it.

**What if a setting locks me out?**

Add `define( 'TOGGLEWORKS_SAFE_MODE', true );` to wp-config.php. It pauses every part until you remove the line, and Tools → Recent changes lets you undo a change.

**Can I try Redirects before I buy?**

Yes. The [live demo](https://togglework.app/demo/) runs a WordPress site with Toggleworks in your browser, and every plan has a 14-day refund.

## Switch off the plugin pile.

All 188 parts, one license, updates and support. 14-day refund.

[Choose a plan](https://togglework.app/pricing/#plans) [Try the live demo](https://togglework.app/demo/)

---

Source: https://togglework.app/features/core/redirects/
