First, register all the redirects using your preferred redirect plugin. Safe Redirect Manager is a good option.
Add the following code to your functions.php file:
Add the following code to the javascript file from your child theme:
Finally, create a page for each redirect. Make sure that the page has the origin URL of the redirect.
When creating the page, check the checkbox in the “Redirect Opens New Tab” box.
Powered by BetterDocs
Subscribe and stay connected through our Newsletter. We send out important news, tips and special offers.