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
Today I had an issue where I needed to merge two folders, each of which contained many sub- and sub-sub folders that had lots of images. After a lot of trial-and-error and some Googling, I found the best solution is to use the “ditto” command in Terminal like this: That’s it! Hat tip to AppleInsider.
I wasted some time today to bring you (dum dum duuuuum!): Some Surprising Trends in Website Development!
I was recently asked to look into creating some secure http headers as well as forcing a website to load over TLS1.2+. Below are my “how to” instructions for updating these settings within WordPress and Cloudflare. Install & Configure the Cloudflare WordPress plugin. Make sure an SSL Certificate is installed on your host for your…