Setting up redirects can become a regular task if you run a WordPress website. For example, you may take some of your pages down over time, or you might want to move them from one URL to another. Whenever that happens, configuring a redirect properly ensures that users still arrive where they want to go.
In this article, we’ll talk about what types of redirects you can set up. We’ll also introduce you to the best redirect plugins for WordPress and help you choose the right one for your site.
Let’s get to it!
What Type of Redirect to Use on Your Website
There are several types of redirects that you can use on your WordPress website. Most of the plugins we’ll introduce you to in the following sections enable you to set up any type of redirect you want. With that in mind, it’s essential to understand the difference between each of them.
Let’s break down the most common types of redirects and when to use them:
- 301 (permanent redirection). This type of redirect tells the visitor that the page they tried to access has moved elsewhere permanently. Then it helpfully sends them to that new address.
- 302, 303, 307 (temporary redirection). These types of redirects tell visitors that the page they’re trying to access is temporarily unavailable.
- 304 (not modified redirection). This type of redirect sends visitors to a cached version of the page since there haven’t been any new changes to it. We have an excellent overview that explains what the 304 status code means and how to fix it if you are seeing unwanted 304 redirects on your website.
- 308 (permanent redirection). This is an alternative to 301 redirections and accomplishes essentially the same outcome, although the original is still the most popular option.
In theory, there are particular situations when you’ll want to use 302, 303, and 307 redirects, respectively. For example, you can use 303 and 307 redirects to tell browsers not to refresh a confirmation page after users submit a form.
For practical purposes, however, you probably won’t use a lot of 303 or 307 redirects. Form and e-commerce plugins usually handle those situations via built-in functionality. As for 302 redirects, there aren’t a lot of scenarios when it makes sense to move visitors to another page temporarily.
In practice, you’ll most often use 301 redirects. In case you have particular needs, though, we’ll let you know what types of redirects each of the plugins we recommend enable you to use.
Finally, it’s also worth noting that you can implement redirects in WordPress manually by modifying your site’s .htaccess file. However, that’s not an approach that we recommend unless you’re very comfortable editing WordPress core files.
The Best Redirect Plugins for WordPress
We selected the seven plugins below based on their feature sets, ease of use, and positive reviews. However, it’s important to note that implementing redirects on your website can lead to errors and SEO penalties if you don’t do it properly (or if your plugin is poorly coded or out of date). With that in mind, we’re also recommending plugins that are well-established and frequently updated.
1. Rank Math
Rank Math is a popular all-in-one WordPress SEO plugin that includes redirection functionality. It’s similar to Yoast in terms of features, and there’s plenty of debate about which is the superior WordPress SEO plugin.
If you use Rank Math on your own site (or are interested in adding it), you’ll be glad to know that it makes configuring redirects easy. This SEO plugin uses a module system that enables you to turn on or off the specific functionalities you want to use. Among those modules, you’ll find options for a 404 error monitor and redirects:
The 404 error monitor is enabled by default. However, once you turn on the redirection feature, you’ll be able to set up individual redirects:
Rank Math supports multiple types of redirects, and it also enables you to automatically reroute 404 errors to any page of your choosing. Of course, you get access to a lot of useful SEO functionality as well.
- Improve your website’s SEO
- Monitor your site for 404 errors, and implement automatic redirects for them.
- Set up custom redirects for any page you need
Rank Math is for you if…
…you already use this plugin on your site, or you’re in search of an SEO plugin that also includes redirect functionality. In comparison with other SEO plugins, Rank Math offers a more modular approach. That means that you can turn off any features that you don’t need for easier configuration.
Price: Free, with a premium version available starting at $59 per year
LoginWP (Formerly Peter’s Login Redirect) is unlike any of the other redirect plugins for WordPress we’ve talked about so far. With this plugin, you can set up automatic redirects that trigger when users log in or out of your website.
We’ve talked about how to set up and configure LoginWP in the past. So let’s instead focus on why this type of redirect can be useful. For example, it can enable you to divert users from seeing the WordPress dashboard after they log in.
You can add redirect rules for specific users or roles. The plugin also enables you to set up post-registration redirects, which you can use to send users to a ‘thank you’ page:
If you’re running a membership-based website, this type of redirect can be incredibly useful. With this plugin, you can set up as many login and logout redirection rules as you need.
- Redirect users after they log in or out of your website
- Set up rules for specific users or roles
- Create custom post-registration redirects
LoginWP is for you if…
…you run a membership website or any other type of operation that requires users to log in to access key features.
Price: Free, premium version starts at $49
Redirection is by far the most popular redirect plugin for WordPress, and it’s easy to see why. This tool enables you to set up many types of redirects, including:
Redirection can do other things as well, such as automatically monitoring your website for permalink changes and setting up redirections for you when it detects updates. It can also keep a log of 404 errors that visitors encounter and share that information with you.
By monitoring 404 errors, you’ll have a full list of potential URLs for which you need to set up redirects. Here’s how the redirection setup process looks when using this plugin:
Another benefit of Redirection is that it enables you to determine conditions for each redirect that you set up. For example, you can create redirects that only trigger based on a visitor’s login status, language, or the referrer, among other parameters.
- Set up multiple types of redirects in WordPress
- Automatically generate redirects when a permalink changes
- Keep logs of 404 errors on your website
- Set up parameters for your redirect rules
Redirection is for you if…
…you want to be able to set up multiple types of redirects and monitor your website for 404 errors. This plugin is also a fantastic choice if you want to configure redirects with advanced rules and parameters.
4. Quick Page/Post Redirect
This next plugin is all about 301 redirects. Quick Page/Post Redirect enables you to add multiple 301 redirects for your website at once using a simple menu and without tinkering with too many settings:
You can configure redirects to open in a new window or add the nofollow attribute to them. Quick Page/Post Redirect also enables you to add redirect rules directly from the Block Editor when editing individual pages or posts:
If you opt for this approach, the plugin enables you to choose from a broader range of redirect types, including 301, 302, 307, and “meta redirects.” That last type occurs on the client side. Meta redirects aren’t beneficial from an SEO perspective, however, so we recommend against using them.
- Set up multiple 301 redirects at once
- Create individual redirect rules from within the Block Editor
- Set up global redirects or turn off all existing ones with a click
Quick Page/Post Redirect is for you if…
…you want to set up multiple 301 redirects at once using a simple menu that doesn’t require you to tweak additional settings for any rule.
5. Safe Redirect Manager
Safe Redirect Manager offers a much more streamlined approach than other redirect plugins for WordPress. It saves redirect rules as custom post types and shies away from features such as 404 error logging since it claims this can cause performance issues (which shouldn’t be a problem with proper optimization).
Regardless of the plugin’s philosophy, it does make it easy to set up new redirect rules. It also supports multiple types, including the following options:
Here’s what it looks like when you’re setting up a new 301 redirect using Safe Redirect Manager:
Another feature worth mentioning is that Safe Redirect Manager supports “wildcard redirects.” A wildcard redirect will divert any visitors trying to access a subdomain to your website instead. That can be useful if you have subdomains that you’re not currently using.
- Set up multiple types of redirects
- Create wildcard redirects
- Add notes to each redirect rule that you set up
- Save redirect rules as custom post types in your database
Safe Redirect Manager is for you if…
…you want to use a plugin that enables you to set up multiple types of redirects without having to tinker with advanced configuration options. It’s also one of the only options that support wildcard redirects.
6. All 404 Redirect to Homepage
In some cases, you might not need to set up advanced redirect rules, and all you want is a way to take care of 404 errors. What All 404 Redirect to Homepage does is set up automatic redirects for any 404 error on your website, so visitors are automatically sent to your homepage. In addition, you can customize what URL the plugin redirects users towards:
This plugin also includes a 404 error log, but it doesn’t enable you to set up any other type of redirect rule.
- Redirect all 404 errors to your homepage (or any other page that you choose)
- Log 404 errors on your website
All 404 Redirect to Homepage is for you if…
…you want a simple way to take care of 404 errors on your website, and you don’t have a need for any other type of redirect.
Price: Free, with a premium version available starting at $29 per year
7. 301 Redirects
The 301 Redirects plugin enables you to log 404 errors and set up multiple types of redirects, including:
The plugin offers a simple menu that makes it easy to create new redirect rules. For example, if you don’t want to enter URLs manually, you can choose whether to redirect an address to a post, page, media file, or product:
By using this plugin, you can set up as many redirect rules as you need. Plus, if you’re just starting a new WordPress site, the plugin will let you know if your permalink structure isn’t compatible with redirects.
- Set up multiple types of redirects
- Redirect visitors to specific pages, posts, media files, or products
- Log 404 errors on your website
301 Redirects is for you if…
…you want to use a plugin that includes dropdown menus for choosing which pages, posts, media files, or products to redirect visitors to.
Price: Free, with a premium version available starting at $49
8. Yoast SEO
Yoast SEO hardly needs an introduction. It’s the most popular SEO plugin among WordPress users, and with good reason. We’ve talked about how to set up Yoast SEO in the past, and it’s still the tool we use for optimizing the content on our own blog.
If you use the premium version of Yoast SEO, you get access to a lot of extra features that we didn’t have time to cover in the post linked above, including a redirect manager. This tool enables you to set up new redirects or let Yoast SEO do it for you when you delete or move a page:
Yoast SEO’s redirect manager supports multiple types of redirection, including:
You can also set two HTTP statuses that aren’t commonly used, which are 410 and 451. The 410 code tells search engines that a page is gone for good, and they should de-index it. With the 451 code, you signal that a page is unavailable for legal reasons.
- Improve your website’s SEO and readability
- Set up multiple types of redirects
- Detect when a page is gone or moves to a new URL and set up an automatic redirect to it.
Yoast SEO is for you if…
…you’re already using the free version of Yoast SEO, and it’s baked into your day-to-day WordPress operations. In that scenario, purchasing a premium license can be worth it. Yoast SEO premium includes a broad range of other features beyond redirects, including keyword and internal link suggestions, on-demand support, and more.
Price: Yoast SEO Premium licenses start at $89 per year
9. 404 to 301
404 to 301 – Redirect, Log, and Notify is a WordPress plugin that helps website owners manage 404 errors on their websites. The plugin automatically redirects the user to a relevant page on the website using a 301 redirect. This ensures that the user is directed to a useful page and that the website’s SEO is not negatively impacted by broken links. The plugin also logs all 404 errors and provides notifications to the website owner so that they can take action to fix broken links.
In addition to redirecting users and logging errors, 404 to 301 allows users to set up custom redirects for specific URLs. This is useful for website owners who have changed the structure of their website and need to redirect old URLs to new ones.
- Automatically redirects users to a relevant page on the website using a 301 redirect
- Logs all 404 errors and provides notifications to the website owner
- Allows users to set up custom redirects for specific URLs
404 to 301 Errors is for you if…
…you want to improve your website’s user experience and SEO by effectively managing 404 errors and setting up custom redirects for specific URLs.
Which WordPress Redirect Plugin Is The Best?
|🥇||Rank Math||$59/yr||✔️||Learn More|
|4||Quick Page/Post Redirect||Free||✔️||Learn More|
|5||Safe Redirect Manager||Free||✔️||Learn More|
|6||All 404 Redirect to Homepage||$29/yr||✔️||Learn More|
|7||301 Redirects||$49/site||✔️||Learn More|
|8||Yoast SEO||$99/yr||✔️||Learn More|
|9||404 to 301||Free||✔️||Learn More|
As your website grows, you’ll probably need to implement a few redirects to ensure visitors reach the pages they’re looking for. Thanks to redirects, you can even minimize the impact of 404 errors on your website. However, that is only possible with the right redirect plugin for WordPress.
If you’re looking for an all-in-one tool for managing redirects, Rank Math is your best bet. Rank Math’s redirect management tool allows you to set up and manage 301 and 302 redirects directly from your WordPress dashboard. It also includes a powerful redirection engine that automatically detects and fixes 404 errors on your website.
Do you have any questions about how to implement redirects in WordPress? Then, let’s talk about them in the comments section below!
Featured image illustration via Thomas Knopp / shutterstock.com
The post 9 Best Redirect Plugins for WordPress in 2023 appeared first on Elegant Themes Blog.