How to Set Up Redirections in WordPress Using Rank Math? Rank Math SEO
Key Takeaways
The video demonstrates how to set up URL redirections in WordPress using Rank Math SEO, covering the use of the redirection screen, advanced mode, and redirection types.
Full Transcript
hello i'm kate and in this tutorial i'm going to show you how to use rank math's redirection screen to make urls switch automatically from their original destination to a new one this is an option in ranked math's advanced mode so if you can find it in the sidebar of your wordpress dashboard check if you're using the plugin in easy mode you need to switch to advanced and activate the redirections module then open the redirections section in rank math sub menu click on the button that says add new and a form will appear at the top of the list with several fields keep in mind that you'll set up one redirection for each destination url it can have as many sources as you need the first field source url is where you'll type any url you want to redirect from they can be added with the full url including the http or https prefix and domain name or the slug the part that comes after your domain name rank math will automatically remove the domain name and slashes if you place them there under that field is the option ignore case which means to make that redirection even if the text in the field has uppercase or lowercase letters different from the actual url next to each source url there is a match type field that allows you to make several redirects based on one specific term if the only option was exact match you'd have to do redirections one by one because it only works for the url with that entire slug on the other hand the contains match type will redirect all the urls with that term in them next is the start with match type that will redirect all urls that start with what's in the source url field similar to start with the end with match type will redirect all urls that end with the text in the source url field the last option is regex which stands for regular expressions they allow you to write a pattern for instance if you've used amp on your website and decided not to use it you can use regex to redirect all emp urls back to regular urls since regular expressions can match thousands of urls with a single line they can also be dangerous a mistake might match redirections that won't work or match too many urls and even hide whole sections of your website if you've never used redirections before we recommend taking a look at two links in this video's description first is a tutorial to read before starting to use regular expressions the second is an online editor to test your redirections before you use them live on your site you will also learn to use rankmath's redirection debugger to diagnose potential issues later in this video if you have to create complex redirections breaking down into simple rules with multiple source urls makes it easier to follow and diagnose any mistakes to add more sources click the add another button just below the source url field if there is a list of urls and terms to redirect to the same destination copy all of them at once and paste on the first field rank math will create fields for each one using exact as the default match type and you can change it to fit your needs you can also remove the additional fields by clicking the remove button on the right the next field destination url is for the actual content that will appear it can be a page from your website or an external url but also any kind of file pdfs images videos etc even if you're creating redirections to internal urls we recommend that you always use fully qualified domain names in the destination url field using only the slug can cause problems once the source and destination are defined it's time to select the type of redirection a 301 code means the old url has permanently moved to a new address whereas a 302 code represents a temporary redirect a 307 redirect is also temporary with a few technical differences from a 302 mainly related to caching and the request format you can use 302 and 307 almost interchangeably rank math sets 301 as a default type of redirection but you can change that in the settings to access them click on the button on the top of the screen the redirections tab of rank mouse general settings will open select the one you want to use as default we will see the rest of the settings later in the video in case there is no new content to redirect an old url to instead of a redirection code you'll need a maintenance code to tell search engines that that content was deleted or restricted when you select a maintenance code the destination url field will be hidden as there is no need to set a new target for the url rank math currently supports two maintenance codes 410 content deleted should be used if there is no suitable replacement for that content when search engines encounter 410 they also de-index the page naturally 451 content unavailable for legal reasons applies to content that has to be restricted to a demographic age group or another similar restriction for instance most regions don't allow minors to access gambling websites if that was your case you would use a 451 to restrict content to the people below the mandatory age the last in the redirections options that all rank math users can see is the status field which represents whether the redirect is active or not it can be used for both creating redirects in advanced and enabling them later or creating temporary redirects you can enable or disable a redirection in two ways changing the status in the editor or using the activate deactivate link from the all redirections page you can see that when a redirect is disabled it will appear washed out on the page rank math pro users have another option on this screen redirection category you can add new categories right on the form and edit them by clicking on manage categories it's also possible to add in bulks from the redirections list once you've created the categories you can filter which ones you want to see on the list use the drop down menu select category choose one and click on filter only the redirects within that particular category will appear and you can make changes such as activating deactivating or sending them to the trash even if you don't filter them through categories you can still apply those bulk actions to several redirects at once rank math tracks how many times each redirection has been accessed both by humans and bots even if the link takes visitors to another site you can see the redirection statistics in the last two columns of the redirections screen hits gives you the total number of times the redirect has been accessed since you set it up while less accessed shows you the most recent time someone clicked on the redirect you can backup your redirections or replicate them in another site with the export option all ranked math users can export the redirects to the htaccess file used in apache servers or to engine x servers configuration files rank math pro users will see an import and export button where there will be an additional option to import and export the redirections as a csv file this feature lets you make changes in bulk with the help of external editors no matter the file's format its name has a timestamp to make it easier to identify but you can change it to whatever you prefer now let's dive into the redirection settings the first is the redirections debugger this is useful to keep track of what each redirect is doing and solve problems like having two redirects for the same url or if you create a regex based rule that causes a large number of unintentional redirects if it's activated whenever you click on a redirection an interstitial page with the first rule will appear for 5 seconds then the destination url will open if the interstitial doesn't appear even while the debugger is active that means the redirect isn't being processed you'll have to edit its rules don't worry about visitors seeing the debugger in action as it is only visible for website administrators the following option fallback behavior defines what happens when the destination url in a redirect isn't found you can set it to a 404 redirect the home page or redirect to a custom url if you select the custom url option another field opens up to enter the fallback url on the third setting you define the default type for redirections that will appear selected as you create a new one the last feature makes redirections happen automatically when you make a change in a posts url wordpress already does that by default but if it doesn't for some reason you can activate auto post redirect if this tutorial helped you give it a like if you have any questions click on the link in the description to open a free support ticket you can find other tutorials in our knowledge base at rankmath.com kb
Original Description
If you decide to change any existing URLs on your website, setting up a redirection to the new URL makes sense. So that when your visitor lands on the old URL, the browser lets them know that the URL has been moved and automatically takes them to the new URL.
Setting up redirections can be quite intriguing initially, but if misconfigured, they can affect your website’s SEO in the long run, without even you realize it.
Rank Math has a built-in module for setting up Redirections, and so you don’t have to rely on any additional plugins. If you haven’t installed the Rank Math plugin yet: https://rankmath.com/wordpress/plugin/seo-suite/
In this visual walkthrough, we’ll show you how to set up redirections with Rank Math and configure the redirection settings as well. If you’d like to navigate through this detailed tutorial,
0:29 Source URLs
0:54 Ignore case
1:04 Match Type Field
1:39 Regex / Regular Expressions
2:25 Multiple Source URLs
2:56 Destination URL
3:18 Redirection Types
3:58 Maintenance Codes
4:46 Status field (enabled/disabled)
5:14 Redirection Categories
5:44 Bulk Actions
5:50 Redirections Statistics
6:11 Import & Export / Backup Redirections
6:46 Settings: Redirections debugger (in Redirections Settings)
7:26 Settings: Fallback behavior (in Redirections Settings)
7:43 Settings: Set default Redirection Type
7:49 Auto Post Redirect (in Redirections Settings)
Did you enjoy this video? Then, don’t forget to hit the like button 👍 and subscribe to our channel for more videos.
Connect with Rank Math:
Website: https://rankmath.com/
Full tutorial: https://rankmath.com/kb/setting-up-redirections/
Facebook: https://www.facebook.com/groups/rankmathseopluginwordpress
Twitter: https://twitter.com/rankmathseo
LinkedIn: https://www.linkedin.com/company/rankmath/
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from Rank Math SEO · Rank Math SEO · 21 of 60
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
▶
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Rank Math - The Most Powerful WordPress SEO Plugin
Rank Math SEO
Ryan Robinson Recommends Rank Math WordPress SEO Plugin
Rank Math SEO
Matthew Woodward Recommends Rank Math SEO
Rank Math SEO
Akshay Hallur Recommends Rank Math SEO
Rank Math SEO
Rank Math: Introducing a New UI with 2 modes: Easy & Advanced
Rank Math SEO
Jamie Irwin Recommends Rank Math
Rank Math SEO
Vito Peleg Recommends Rank Math
Rank Math SEO
Rank Math PRO Installation & Activation
Rank Math SEO
How to Update Rank Math PRO
Rank Math SEO
Rank Math Schema Generator PRO & Advanced Builder
Rank Math SEO
Rank Math Free vs PRO
Rank Math SEO
How to Change Your Website's Favicon in WordPress? Rank Math SEO
Rank Math SEO
How to NoIndex Paginated Pages in WordPress? Rank Math SEO
Rank Math SEO
How to Choose a Primary Category in WordPress? Rank Math SEO
Rank Math SEO
How To Make All External Links Open In A New Tab/Window? Rank Math SEO
Rank Math SEO
Introducing Complete Divi SEO Workflow
Rank Math SEO
How to Configure Sitemaps in Rank Math? Rank Math SEO
Rank Math SEO
WordPress Permalink Structure & Changing Individual URLs - Rank Math SEO
Rank Math SEO
How to Edit Your Robots.txt with Rank Math SEO? - Rank Math SEO
Rank Math SEO
How to Enable Breadcrumbs on Your Website with Rank Math SEO? Rank Math SEO
Rank Math SEO
How to Set Up Redirections in WordPress Using Rank Math? Rank Math SEO
Rank Math SEO
How to Monitor and Fix 404 Errors in WordPress with Rank Math? Rank Math SEO
Rank Math SEO
How to Enter SEO Meta Title, Description, and Focus Keyword? Rank Math SEO
Rank Math SEO
Using Rank Math's 'Quick Actions' Admin Menu Item - Rank Math SEO
Rank Math SEO
How To Run An SEO Analysis On Your Site with Rank Math SEO? Rank Math SEO
Rank Math SEO
Installing Rank Math Through the Admin Panel - Rank Math SEO
Rank Math SEO
Editing SEO Meta Titles & Descriptions at Scale w/Rank Math + Google Sheets - Rank Math SEO
Rank Math SEO
Get SEO Performance Reports via Email Using Rank Math - Rank Math SEO
Rank Math SEO
How to Access Rank Math's Setup Wizard? Rank Math SEO
Rank Math SEO
Confirming a Theme/Plugin Conflict With Rank Math - Rank Math SEO
Rank Math SEO
Introducing Rank Math PRO - SEO Plugin for WordPress
Rank Math SEO
How to Use Rank Math's Version Control to Rollback and Update? Rank Math SEO
Rank Math SEO
How To Noindex URLs with Rank Math? Rank Math SEO
Rank Math SEO
Remove the Category Base From WordPress URLs - Rank Math SEO
Rank Math SEO
How To Enable & Disable Modules in Rank Math - Rank Math SEO
Rank Math SEO
Reasons Why Your URL Isn't Included in the Sitemap - Rank Math SEO
Rank Math SEO
Benefits of Creating a FREE Rank Math Account - Rank Math SEO
Rank Math SEO
How to Connect Your Google Account with Rank Math SEO? - Rank Math SEO
Rank Math SEO
Why isn't Rank Math Detecting the Table of Contents? - Rank Math SEO
Rank Math SEO
Automatically Add Video Schema To Your Existing Posts Retroactively - Rank Math SEO
Rank Math SEO
How to Change Your Homepage's Meta Title and Description - Rank Math SEO
Rank Math SEO
How To Install Google Analytics with Rank Math SEO? - Rank Math SEO
Rank Math SEO
How to Add or Remove Schema From Your Posts & Pages
Rank Math SEO
How You Can Get Google To Crawl Your Website Instantly
Rank Math SEO
How to Use the Watermark Option for Social Sharing - Rank Math SEO
Rank Math SEO
Understanding Rank Math's Meta Box Appearing in Single Posts & Pages - Rank Math SEO
Rank Math SEO
WooCommerce Products Page is Misaligned When Using Rank Math
Rank Math SEO
How to Switch from Easy to Advanced Mode? - Rank Math SEO
Rank Math SEO
Migrating from Yoast SEO to Rank Math SEO
Rank Math SEO
Why Does Google Show a Different Title/Meta Description in the SERPs? Rank Math SEO
Rank Math SEO
How to Submit a Sitemap to Google? Rank Math SEO
Rank Math SEO
How to Show or Hide SEO Score from the Frontend - Rank Math SEO
Rank Math SEO
How To Use Rank Math’s Custom Schema Generator - Rank Math SEO
Rank Math SEO
Can We Use Rank Math as a Keyword Research Tool? Rank Math SEO
Rank Math SEO
Why Google Hasn’t Indexed Your Post, Page, and/or Website? Rank Math SEO
Rank Math SEO
How To Add 'HowTo Schema' To Your Website Using Rank Math?
Rank Math SEO
How to Name Images and Optimize Images for SEO? Rank Math SEO
Rank Math SEO
How to Import Redirects to Rank Math SEO - Rank Math SEO
Rank Math SEO
How to Redirect Attachment URLs Using Rank Math SEO
Rank Math SEO
How to Create a KML Sitemap using Rank Math
Rank Math SEO
More on: Prompt Craft
View skill →Related Reads
Chapters (17)
0:29
Source URLs
0:54
Ignore case
1:04
Match Type Field
1:39
Regex / Regular Expressions
2:25
Multiple Source URLs
2:56
Destination URL
3:18
Redirection Types
3:58
Maintenance Codes
4:46
Status field (enabled/disabled)
5:14
Redirection Categories
5:44
Bulk Actions
5:50
Redirections Statistics
6:11
Import & Export / Backup Redirections
6:46
Settings: Redirections debugger (in Redirections Settings)
7:26
Settings: Fallback behavior (in Redirections Settings)
7:43
Settings: Set default Redirection Type
7:49
Auto Post Redirect (in Redirections Settings)
🎓
Tutor Explanation
DeepCamp AI