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
GoDaddy owns ManageWP, and, strangely, they make it very difficult to add GoDaddy-managed WordPress sites to their ManageWP service. Thankfully, there’s a quick workaround: Visit https://yoursite.com/wp-admin/plugins.php?showWorker=1 — This will make the ManageWP “Worker” plugin visible. Copy the connection info from the ManageWP Worker plugin. Add the site per-normal on ManageWP. That’s it! I hope this…
I realized this morning that my TMM Maintenance Mode WordPress plugin had a bug that was causing the wp-login.php page to be inaccessible. The solution was to write a simple function that checks whether or not we’re currently on a login page, and then add a call to that function in my code. Here’s the…
Today I updated a WooCommerce site, and everything worked fine, except for the images on product pages – they were not displaying at all. After a lot of trial & error, I realized that WP Rocket was to blame. I’m not sure exactly what the issue was (though my hunch is that it had to…