Plugin how-tos · Guide
How to Use Yoast SEO Redirects
Short answer
To use Yoast SEO redirects, open Yoast SEO, then Redirects, in the WordPress dashboard with Yoast SEO Premium active. Enter the old URL, enter the new URL, pick a redirect type, and click Add redirect. Use 301 for a permanent move, 302 or 307 for a short-term move, and 410 when a page is gone for good.
Key takeaways
- The redirect manager is a Yoast SEO Premium feature, and the free plugin does not include a working version of it.
- Yoast SEO Premium offers 5 redirect types: 301, 302, 307, 410 and 451.
- A 301 tells search engines a page has moved for good, while 302 and 307 mark a move as short term.
- Yoast SEO Premium creates a redirect on its own when you change a post slug, and it asks what to do when you delete a page.
- Google advises keeping site-move redirects live for at least 1 year, and sending each old URL straight to its final page.
- You can import redirects from a CSV file, a .htaccess file, or the Redirection, Safe Redirect Manager and Simple 301 Redirects plugins.
What is a Yoast SEO redirect?
A Yoast SEO redirect is a rule that sends visitors from an old URL to a new URL on your WordPress site.
A redirect is a server instruction, not a link on a page. When someone opens the old address, the server answers with a status code and the new address, and the browser loads the new page. Google Search Central describes a redirect as telling visitors and Google Search that a page has a new location.
You need a redirect when you change a slug, merge two pages, move a post to a new section, or delete a page that still gets visits or links. Without one, visitors land on a 404 page and search engines keep showing the old address.
Yoast SEO Premium puts all of these rules in one place. The Redirects screen lists every rule you have made, so you can edit or remove a rule without touching server files.
Do you need Yoast SEO Premium to use redirects?
Yes, the redirect manager is a Yoast SEO Premium feature, and the free plugin does not include a working version of it.
Yoast states this in its own help pages: the redirect feature is available in Yoast SEO Premium, and Premium includes the redirect manager. On a free install, the Redirects menu leads to an upgrade screen rather than a working tool.
Premium is a paid yearly plan, priced per site, so check the current price on the Yoast site before you buy (as of November 2026).
The free plugin still covers titles, meta descriptions, sitemaps and content checks. If you only need one or two redirects and do not want Premium, a free redirect plugin or a server rule is the other route.
The free Yoast SEO plugin is widely used: its WordPress.org page lists 10+ million active installations. That large user base is one reason the Premium redirect prompts are so familiar to WordPress users.
If you already use another SEO plugin, compare the settings first. Our Yoast vs Rank Math settings guide shows where each plugin puts its redirect and sitemap controls.
Which redirect type should you choose?
Pick the type that matches how long the move will last, because search engines read that choice as a signal.
Google Search Central groups 301 and 308 as permanent redirects and 302, 303 and 307 as short-term ones. A permanent redirect is a signal that the new address should be the canonical one, while a short-term redirect is not.
| Type | Meaning | Use it when |
|---|---|---|
| 301 Moved Permanently | The page has moved for good | You changed a slug, merged pages, or moved a post to a new section |
| 302 Found | The page is at a new address for now | A page is down for a short sale, test, or seasonal change |
| 307 Temporary Redirect | The page is at a new address for now | A short-term move where the request method must stay the same |
| 410 Content Deleted | The page is gone for good | You deleted a page with no close replacement |
| 451 Unavailable for Legal Reasons | The page is blocked for legal reasons | A court order or legal rule forces you to remove the page |
Yoast explains the same split in its guide to which redirect to use: use 301 when a page has moved for good, and 302 or 307 when the old address will come back.
Most day-to-day work uses 301. Use 410 when a page is truly gone, because it tells search engines to drop the old address from the index instead of waiting for a replacement.
How do you add a manual redirect in Yoast SEO?
Open the Redirects screen in Yoast SEO Premium, fill in the old and new URLs, pick a type, and save the rule.
You need Yoast SEO Premium installed and active, plus an admin account on the site. One redirect takes about 2 minutes once you know both URLs.
- Log in to your WordPress dashboard.
- Go to Yoast SEO in the left menu, then click Redirects.
- Click the Redirects tab at the top of the screen.
- Choose the redirect type from the drop-down menu, such as 301 Moved Permanently.
- Type the old URL in the Old URL field, using the path only, such as /old-page/.
- Type the new URL in the New URL field, as a path such as /new-page/ or a full address.
- Click Add redirect.
Yoast says you can enter the new URL as a full address or as a path, and you can point it at an external site.
The old URL uses relative input based on your WordPress site address, so you do not need to type your own domain in that field. These steps follow the Yoast help page for redirecting a post or page.
The new rule shows in the list below the form. If it does not show, check that Premium is active and that you clicked Add redirect rather than leaving the page.
How do you redirect a page when you delete it or change its slug?
Yoast SEO Premium handles both cases for you, and it asks you what to do before the old address starts showing a 404.
When you change the slug of a post, Yoast SEO Premium creates a redirect from the old slug to the new one on its own.
That rule also shows in the Redirects overview, so you can change or remove it later. This is the part of the tool that saves the most time on a busy site.
When you delete a post or page, Yoast SEO Premium shows a pop-up with 2 choices. The first choice redirects the deleted page to another URL that you type in. The second choice returns a 410 Content Deleted header, which tells search engines the page is gone for good and should leave the index.
Follow these steps for a deleted page:
- Go to Posts or Pages in the dashboard.
- Move the post or page to Trash.
- Read the Yoast pop-up and pick Redirect to another URL or Return a 410 Content Deleted header.
- If you picked a redirect, type the new URL and confirm.
Yoast describes this flow in its guide to what a redirect is, which covers both manual redirects and the automatic prompt on deletion. Pick the closest matching page as the target, not your home page, unless the home page is the true replacement.
How do you import many redirects at once?
Use the Import redirects screen under Yoast SEO, then Tools, then Import and Export, and pick a CSV file, a .htaccess file, or another redirect plugin.
Bulk import is the right choice for a site move, a redesign, or a merge of two sites. Adding 50 rules by hand takes too long and invites typing errors.
Before a bulk import, back up your site, because a bad file can send many pages to the wrong place. Our WordPress backup guide walks through the options.
- Go to Yoast SEO, then Tools, then Import and Export.
- Click the Import redirects tab.
- Pick an import method: a supported plugin, a CSV file, or a .htaccess file.
- For a plugin import, pick Redirection, Safe Redirect Manager, or Simple 301 Redirects, then click Import redirects.
- For a CSV import, upload a file whose first line is Origin,Target,Type,Format.
- For a .htaccess import, paste the file contents into the text box and click Import .htaccess.
Yoast states that Premium can import redirects from those 3 plugins, from a CSV file, or from a .htaccess file. You can also export your redirects to a CSV file from the same screen, which helps when you move them to another site.
The CSV format has strict rules, so follow them exactly. Yoast lists 4 key rules in its import redirects help page: the file must use a comma separator, UTF-8 encoding, 1 redirect per line, and an empty target cell for 410 and 451 redirects.
Existing redirects are skipped during import, so update those by hand in the manager.
How do you use regex redirects in Yoast SEO?
Use a regex redirect when 1 pattern must cover many old URLs, such as a whole dated folder or a set of query strings.
A regex redirect, short for regular expression redirect, is a rule that matches a pattern instead of 1 exact address. For example, 1 pattern can send every post under /blog/2024/ to the matching post under /blog/. That beats writing a separate rule for each post.
- Go to Yoast SEO, then Redirects.
- Click the Regex Redirects tab.
- Type the pattern in the Old URL field and the new address in the New URL field.
- Pick the redirect type, then click Add Redirect.
Yoast warns that regex redirects support standard matches and capturing groups, and that a bad regex redirect can break your site. Its regex redirects help page gives the same warning, so test each pattern on 1 URL before you use it on a whole folder.
Keep regex rules simple and few. A plain redirect is easier to read, easier to fix, and safer for the next person who edits the site. Use regex only when plain rules would mean dozens of near-identical entries.
How do you check that a redirect works?
Open the old URL in a private browser window and confirm it lands on the new page, then check the status code with a header tool.
A private window avoids your browser cache, which can hide a broken rule by showing an old saved page. The new page should load with no error, and the address bar should show the new URL.
For a status check, run a header check on the old URL. You can use a free online header checker, or run curl -I with the full old URL in a terminal.
Yoast suggests the same curl -I test in its help page on pages that redirect or loop unexpectedly. A 301 rule should return a 301 status and a Location header that points at the new address.
If the redirect does not work, clear all cache first. Yoast says to clear all cache when redirects do not work, because page cache and CDN cache can serve the old page.
Then check for a loop: Yoast warns you when a new rule would create a redirect loop, and a loop shows as a browser error that says the page redirects too many times.
Check 3 things after each change: the old URL lands on the right page, the status code matches the type you picked, and no other rule points at the same old URL. Fix the rule in Yoast SEO, then Redirects, if any of those 3 checks fail.
How long should you keep a redirect live?
Keep a redirect live for at least 1 year after a site move, and longer if the old URL still gets visits or links.
Google advises keeping redirects for as long as possible, generally at least 1 year, so it has time to move all signals to the new URLs. That includes recrawling the old pages and reassigning links from other sites. From a user view, Google says you can keep them indefinitely.
Send each old URL straight to its final page. Google Search Central says to avoid chains, and if a chain is unavoidable, keep it low: ideally no more than 3 hops and fewer than 5.
Googlebot follows up to 10 hops in a chain, but each extra hop slows the page down and adds a chance of error.
Do not redirect many old URLs to your home page. Google warns that sending many unrelated old URLs to 1 address can confuse users and may be treated as a soft 404. Map each old URL to its closest match instead.
A host move with no URL changes needs no redirects at all. If you are planning one, read our guide to changing hosts without losing SEO before you start.
What mistakes should you avoid?
The most common redirect mistakes are easy to prevent, and each one has a simple fix.
- Picking 302 for a permanent move. A 302 tells search engines the old address will come back, so the new address may not replace it in results. Use 301 for a move that will not be undone.
- Redirecting everything to the home page. Visitors who wanted a guide or a product land on a generic page and leave. Send each old URL to its closest match.
- Creating a redirect chain. An old rule that points at a page which itself redirects adds hops and slows the load. Point each old URL straight at its final page.
- Redirecting across domains in Yoast. Yoast handles relative input only and cannot redirect from one subdomain to another. You need Yoast SEO Premium on each site, or a server rule, for a cross-domain move. If you run several sites, our guide to managing many WordPress sites covers how to keep them in order.
- Using regex for simple jobs. A regex pattern can match more URLs than you meant and send live pages to the wrong place. Use plain redirects unless 1 pattern truly covers many URLs.
- Deleting redirects too soon. Old links in emails, bookmarks and other sites keep sending visits for months. Keep each rule live for at least 1 year, as Google advises.
- Skipping the check step. A rule with a typo in the old URL never fires, and a typo in the new URL sends visitors to a 404. Open each old URL after you save it.
Frequently asked questions
Can I use Yoast SEO redirects without Premium?
No. The redirect manager is a Premium feature, and the free plugin does not include a working version of it. On a free install, the Redirects menu leads to an upgrade screen. If you do not want Premium, use a free redirect plugin or add server redirect rules instead.
What is the difference between a 301 and a 302 redirect in Yoast?
A 301 means the page has moved for good, and search engines should treat the new address as the canonical one. A 302 means the move is short term and the old address will come back. Use 301 for slug changes, merges and permanent moves, and 302 or 307 only for short-term changes.
Why is my Yoast redirect not working?
Clear all cache first, including page cache, CDN cache and your browser cache, because cached pages can hide a new rule. Then check the old URL for a typo, check that Premium is active, and look for a second rule or a server rule that points at the same address. A redirect loop means two rules point at each other.
Can Yoast SEO redirect one domain to another domain?
No. Yoast uses relative input based on your WordPress site address, so it cannot redirect visitors from one subdomain or domain to another. To redirect those URLs, install WordPress and Yoast SEO Premium on each site, or set the redirect up at the server level instead.
Should I use a 410 or a 301 when I delete a page?
Use a 301 when a close replacement exists, such as an updated guide or a merged product page. Use a 410 when the page is gone for good and no page covers the same topic. A 410 tells search engines to drop the old address from the index, while a 301 passes visitors to the replacement.
How do I remove a redirect in Yoast SEO?
Go to Yoast SEO, then Redirects, in the WordPress dashboard. Find the rule in the list below the form, then delete it. Check the Regex Redirects tab too, because a regex rule can still match the old URL after you delete the plain rule. Then open the old URL to confirm it no longer redirects.
Sources
- How to redirect a post or page in Yoast SEO Premium Yoast
- What is a redirect? Types, how to set them up, and impact on SEO Yoast
- Which redirect should I use? Yoast
- How to create a 301 redirect in WordPress Yoast
- How to import redirects using Yoast SEO Premium Yoast
- What are Regex redirects? Yoast
- Redirects and Google Search Google Search Central
- Yoast SEO WordPress.org
Is your product missing, or something out of date?
Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.
Thanks — we review requests within 3 business days.
