Migrating Redirect Links to the Safe Redirect Manager
What is happening to the Redirection plugin?
CTLT will be replacing the existing Redirection Plugin with the new Safe Redirect Manager, which has nearly the same functionality but with better performance. The notice for this removal can be found on the UBC CMS website.
How does this affect my site?
The current Redirection plugin will no longer be available on new WordPress sites, and will soon be removed from all existing sites. This means that redirects must be migrated from the old Redirection plugin to the new Safe Redirect Manager as soon as possible. Once CTLT deactivates the old plugin, you will lose all your old redirects.
Which redirections should I migrate?
Redirections should be used for links that do not exist on your website, but need to point to actual content on the site. For example, say you have an event with the following URL: https://mysite.arts.ubc.ca/events/event/2019-ubc-alumni-gathering-rsvp.
This URL is created by default on WordPress, and it cannot be changed. Although it works, it’s long and difficult to use for promotional materials on posters and social media.
As a result, you can use redirection so that a shorter pseudo-URL will point to the actual event on your website, such as https://mysite.arts.ubc.ca/alumni-lunch.
This pseudo-URL does not correspond to an actual event, page, or post on your site, but redirection helps point it to real content. These are also known as “vanity URLs.”
To redirect links that actually exist on your website to another part of your site or to an external site, use the “Page Links To” plugin instead. For example, redirecting a post in the homepage carousel to an internal page, or a news post on your website to a third-party news source.
- Pseudo-URLs to existing website content: Safe Redirect Manager plugin
- Existing URLs to existing website content or external sites: Page Links To plugin
How do I migrate my redirects to the new plugin?
1. Login to your WordPress site, and go to Dashboard > Plugins.
3. Refresh the page, go to Dashboard > Tools > Safe Redirect Manager.
4. In a new window or tab, go to Dashboard > Tools > Redirection (the old plugin).
6. Next, go to the window where you have the Safe Redirect Manager opened. Click on "Create Redirect Rule," and fill in the following fields with the information gathered in the previous step. In addition, ensure HTTP Status code is set to "301 Moved Permanently." Click "Publish" to save your changes.
7. Go back to the old plugin and delete the link that was copied over. Note that this step must be done to avoid creating an infinite loop in the new plugin.
8. Repeat Step 5-7 until all required redirects are moved over.
Many thanks to Jackelyn Thomspon from the Faculty of Education for writing the original how-to guide on how to transition to the new plugin!