- In the left column of the wordpress dashboard, hover over “Rank Math” and select Redirections option
- On this page, click Add New in the top left corner to open the redirection form.
- In the form, ensure the following fields are filled out:
- Source URL
- This is the OLD page that no longer exists. You can paste either the absolute URL (ex. https://example.com/test123/) OR the relative URL (ex: /test123/) for the page into his field.
- If you have multiple pages that need to be redirected to the same page, you can press the “Add another” button here as well to input multiple source URLs.
- Destination URL
- This is the page that the OLD URL should redirect to. You can paste either the absolute or relative URL in this field.
- Redirection Type:
- Here you select the type of redirect. The default option is 301, which is typically the only type we will be using, so ensure this is selected unless communicated otherwise.
- Status:
- You can use this field to either hold a redirect in a sort of “draft mode” or to temporarily disable it while debugging issues.
- In this case, you will want to ensure that this is always set to “active” for each new redirect you are adding.
- Source URL
- Save your work
- Be sure to click the blue “Add Redirection” button to complete setting up the redirect.
- Repeat the process for each new redirect being added, clicking “Add New” for each.
Notes:
- Do not add redirects to staging URLs. We should only set redirects while on the live site.
- Be sure to QA each redirect once you are done to ensure that it is behaving correctly.
- Be very careful when setting up redirects for entire sections of a site. Create a quick backup of the site in WPEngine beforehand just to be safe.