Redirect plugins don’t work consistently on WP Engine.
99% of the time I need to do a simple 301 redirect pointing page X to page Y. Here’s how to do it.
- Log into my.wpengine.com.
- Click your install.
- Click “Redirect Rules”
- Click “New Redirect Rule”
- In the “Redirect Name” field, type whatever you’d like. Make it something you’ll recognize like, “/old-page/ to /new-page/”
- In the “Source” field, copy and paste the following, but make sure and replace “old-page” with your new page’s slug: ^/info/?$
- In the “Destination” field, put the entire url of the new page.
- Click “Save”, and you’re done!
See screengrab below.
At WP Engine we use a server setup that utilizes the Nginx platform as well as Apache. What this means is that you’ll want to setup all of your redirects in your User Portal instead of other ways such as using the .htaccess file or using plugins (because these are handled on the Apache level).
WP Engine Server Redirects documentation
More posts from themightymo.com
How to merge multiple .csv files via command line
Today I downloaded 29 csv files with tax information. I could import those files 1 at a time into WooCommerce, but wouldn’t it be nice if I could merge them first and then only import a single file? The unix command is simple – just navigate to the folder with all the csv files and…
15 Best WordPress Support and Maintenance Services for 2023: Ensuring Your Website Stays in Top Shape
Small business owners and non-profit leaders know that keeping your website secure, fast, and fully-functional is critical to success. Here’s the unspoken truth: You can either learn how to do all that tech maintenance and development stuff yourself, or hire someone else to do it. But let’s face it, doing it yourself isn’t always the…
How to Whitelist SEM Rush IPs in Cloudflare
Alright, I’m going to show you how to whitelist a set of IPs on CloudFlare. In our case we use SEMrush and we want to make sure the SEMrush has full access to our sites.