wordpress redirects help visitors and search engines reach the right page when a URL has changed, moved or disappeared.
If you need to set up redirects wordpress site owners can usually choose between a plugin, which is easiest, or an .htaccess rule, which is faster but less forgiving. This guide shows both methods, plus when to choose a wordpress 301 redirect instead of a temporary redirect.
What wordpress redirects do
A redirect sends someone from one URL to another automatically. You might use one after changing a page slug, merging two articles, moving to HTTPS, removing old services, or rebuilding a site with cleaner URLs.
Most wordpress redirects are simple: old page in, new page out. The important part is choosing the right status code so browsers and search engines understand whether the move is permanent or temporary.
Google explains that permanent redirects, such as 301 and 308, signal that the new URL should usually be shown in search results, while temporary redirects, such as 302 and 307, keep the old URL as the stronger candidate. You can read Google’s guidance on redirects and Google Search.
When a wordpress 301 redirect is the right choice
Use a wordpress 301 redirect when the old URL is not coming back. Common examples include renaming a service page, combining thin blog posts, changing permalink structure, or moving from an old domain to a new one.
Use 302 or 307 only when the change is genuinely temporary, such as a short campaign page or a maintenance workaround. If you are unsure, treat business-critical URL changes as permanent only after you have confirmed the new page is live and correct.
Plugin or .htaccess for wordpress redirects?
For most small sites, wordpress redirects are easiest to manage with a plugin. You get a search box, logs, import tools and less risk of taking the whole site down with a typo.

The .htaccess method is useful when you want redirects to happen before WordPress loads, or when you have a small, stable set of rules. It applies only to Apache-based hosting; Nginx servers do not use .htaccess in the same way.
| Method | Best for | Pros | Watch out for |
|---|---|---|---|
| Plugin | Small business sites, editors, regular content changes | Easy interface, safer editing, logs and imports | Relies on WordPress loading unless the plugin can write server rules |
.htaccess | Developers, fixed redirect lists, domain or folder moves | Runs at server level, no plugin needed | A mistake can cause a 500 error or redirect loop |
| Hosting control panel | Domain-wide redirects, HTTPS, www to non-www | Often simple and server-level | Options vary by host, so document what you changed |
If your hosting setup is part of the problem, start with our WordPress hosting guides before editing server files. Slow dashboards, missing file access or poor backups make redirect work harder than it needs to be.
Before you touch a redirect
Make a quick redirect map first. It can be as simple as a spreadsheet with three columns: old URL, new URL and redirect type.
List the wordpress redirects you need before adding anything. This prevents duplicate rules, chains and guesswork when someone asks why an old page now points somewhere unexpected.
Set up redirects WordPress checklist
- Back up your site files and database.
- Copy the current
.htaccessfile if you plan to edit it. - Check that every target URL returns a working 200 status.
- Redirect to the closest relevant replacement, not always the homepage.
- Keep a record of who added each redirect and why.
- Avoid redirecting broken pages to unrelated sales pages.
Use this set up redirects wordpress checklist especially after a redesign, because old menu links, campaign URLs and indexed pages can be easy to miss. If a change goes wrong and the site stops loading, our guide to a WordPress site being down will help you check the basics quickly.
How to set up wordpress redirects with a plugin
The free Redirection plugin is a popular standalone option listed in the official WordPress plugin directory. As checked in December 2026, its WordPress.org page describes support for redirect management, 404 logs, changed-post monitoring and custom redirect expressions; check the current listing before installing: Redirection on WordPress.org.
Using Redirection for wordpress redirects
- In WordPress, go to Plugins and select Add New.
- Search for Redirection, install it, then activate it.
- Open Tools, then Redirection.
- Complete the setup wizard and keep logging only if you need it.
- Add the old path in Source URL, such as
/old-page/. - Add the new full URL or path in Target URL.
- Choose 301 Moved Permanently for a permanent move.
- Save, then test in a private browser window.
For straightforward wordpress redirects, use paths rather than full source URLs where the plugin allows it. For example, redirect /old-service/ to /new-service/ rather than pasting a long version with tracking parameters.
Other plugin options
If you already use an SEO plugin, check whether it has a redirect module before installing another plugin. Rank Math documents a Redirections module with 301, 302, 307, 410 and 451 options, while Yoast says its redirect manager is part of Yoast SEO Premium.
Do not install two redirect tools that manage the same URLs unless you have a clear reason. Duplicate rules can make troubleshooting harder, especially if one plugin stores redirects in the database and another writes to server files.
How to add wordpress redirects in .htaccess
The .htaccess file sits in the root folder of many Apache-hosted WordPress sites. WordPress also uses it for permalinks, and the official WordPress developer handbook notes that WordPress modifies this file for pretty permalink handling: WordPress Apache and .htaccess documentation.
These wordpress redirects run before a normal WordPress page is served, which can be efficient. The trade-off is risk: one misplaced character can break the site until you restore the file.
Basic single-page redirect
For one old page to one new page, add a rule above the WordPress block if your host allows it. Replace the example domain with your real domain.
Redirect 301 /old-page/ https://example.com/new-page/
Apache’s own documentation says the RedirectPermanent directive sends a permanent redirect and can be used in .htaccess where file overrides are allowed. The official reference is here: Apache mod_alias documentation.
Redirect a whole folder
If you moved a section, you can redirect a whole folder. Test carefully, because folder rules can catch more URLs than expected.
Redirect 301 /old-guides/ https://example.com/new-guides/
Force HTTPS with mod_rewrite
Many hosts handle HTTPS redirects for you. If not, an Apache rule may look like this, but ask your host before adding it if you already use a CDN or security plugin.
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
Do not edit anything between # BEGIN WordPress and # END WordPress unless you know why it is there. WordPress can regenerate that section, which means your manual edits may disappear.
Testing wordpress redirects without guessing
Test wordpress redirects as soon as you add them. Visit the old URL in a private window, confirm the final page loads, and check that the address bar ends on the intended URL.
Next, use a header checker or your browser’s developer tools to confirm the status code. You want a single 301 for a permanent move, not a chain like old URL to middle URL to final URL.
Common problems and fixes
- Redirect loop: two rules point back at each other, or HTTP and HTTPS rules conflict.
- Wrong destination: the old URL matches a broader folder or regex rule first.
- 404 after redirect: the redirect works, but the target page does not exist.
- 500 error: restore your previous
.htaccessfile and re-add rules one at a time. - Cache confusion: clear page cache, CDN cache and browser cache before retesting.
If you changed a blog structure, category archive or multi-page article, also check internal navigation. Our guide to adding pagination in WordPress is useful when redirects and paginated archives overlap.
SEO checks after adding redirects
Keep wordpress redirects as direct as possible. Every extra hop slows the journey slightly and adds another place for a future mistake.
Update internal links after the redirect is working. A redirect is a safety net, not a replacement for linking to the final URL from menus, buttons, blog posts and XML sitemaps.
After a large migration, monitor 404 reports in your redirect plugin, hosting logs or search tools. Do not redirect every 404 automatically; some missing URLs are spam, probes or ancient pages with no useful replacement.
Redirect map example
| Old URL | New URL | Type | Reason |
|---|---|---|---|
/web-design/ | /services/web-design/ | 301 | Service page moved |
/summer-offer/ | /offers/ | 302 | Temporary campaign ended |
/old-blog-post/ | /new-better-guide/ | 301 | Content merged |
If there is no relevant replacement, consider leaving a helpful 404 or using a 410 status for content that is intentionally gone. Redirecting everything to the homepage can frustrate visitors and blur search signals.
FAQs
How many wordpress redirects are too many?
There is no useful fixed number, because a site can have many valid redirects after a redesign or migration. The bigger issue is quality: avoid chains, loops and irrelevant destinations. A healthy site can have many wordpress redirects if they are direct, documented and still needed.
Can I set up redirects WordPress without a plugin?
Yes, you can use .htaccess on Apache hosting, your hosting control panel, or server configuration if you have access. The set up redirects wordpress route without a plugin is best for confident users, because a small syntax error can break the site.
Is a wordpress 301 redirect bad for SEO?
No, a wordpress 301 redirect is normally the right SEO choice when a page has permanently moved. Problems happen when redirects point to unrelated pages, form long chains, or hide broken site structure instead of fixing it.
Should I redirect deleted WordPress posts to the homepage?
Usually not. If there is a close replacement, redirect to that page. If there is no useful alternative, a helpful 404 page or a 410 status may be clearer than sending every old post to the homepage.
Do redirects work if I change WordPress permalinks?
They can, but you should plan the change carefully. WordPress may handle some permalink changes, but you should still map important old URLs to their new versions and test them. This is especially important for pages with backlinks, rankings or regular traffic.
Final word
Handled well, wordpress redirects protect traffic, bookmarks and search visibility when URLs change. For most site owners, a good plugin is the safest way to start, especially if redirects will change over time.
Use .htaccess only when you are comfortable editing server files or your host can help. Whichever method you choose, keep a redirect map, test every rule, and update your internal links afterwards.



