How to Create a Page Redirect in WP Engine Using Regex

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.

  1. Log into
  2. Click your install.
  3. Click “Redirect Rules”
  4. Click “New Redirect Rule”
  5. In the “Redirect Name” field, type whatever you’d like.  Make it something you’ll recognize like, “/old-page/ to /new-page/”
  6. In the “Source” field, copy and paste the following, but make sure and replace “old-page” with your new page’s slug: ^/info/?$
  7. In the “Destination” field, put the entire url of the new page.
  8. 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
Posted in

Toby Cryns

More posts from

How to merge two folders, including all sub-folders and files, on Mac

By The Mighty Mo! Design Co. | November 3, 2022

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.

mailchimp usage stats

Some Surprising Trends in Website Development

By Toby Cryns | October 17, 2022

I wasted some time today to bring you (dum dum duuuuum!): Some Surprising Trends in Website Development!

How to Configure WordPress with Cloudflare, HSTS, TLS, and Secure Headers

By The Mighty Mo! Design Co. | October 11, 2022

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…