Servers

WP Engine – WP Ghost Setup

If you are using WP Engine to host your WordPress website and want to increase its security by using WP Ghost, follow the steps below to set up Ghost mode and add the necessary records in WP Engine.

  1. Install and activate WP Ghost on your WordPress website.
  2. Go to WP Ghost > Change Paths > Level of Security section.
  3. Enable Safe Mode or Ghost Mode by clicking the corespondent button.
  4. Change and secure the paths based on your needs.
  5. Click on the Save button to apply the changes.

After saving the settings, check the rules you receive in the notification bar and go to the WP Engine User Portal.

Note! If you don’t see the WP Engine notification, select WP Engine from WP Ghost > Advanced > Compatibility > Server Type.

Setup Redirects on WP Engine

Go to your WP Engine panel, select the domain and go to Advanced > Web Rules section.

Click on the Rewrite Rules tab and then the Add Rule button to add the rules from WP Ghost to WP Engine.

Configure your redirect by selecting the action as Internal Rewrite adding the Source and the Destination URL. Then, according to the rules from WP Ghost, choose to Keep the original query string.

Click on Add Rule to create the redirect rule.

By following these steps, you should be able to set up WP Ghost and add the necessary redirect rules in WP Engine to increase the security of your WordPress website.

Bulk Upload Rewrite Rules

After saving the settings in WP Ghost, check the rules you receive in the notification bar.

  1. Click Copy Bulk Rules to copy all the rules at once.
  1. Paste them into a plain text file (e.g., ghost-rules.txt) and save it.
  2. Go to your WP Engine panel, select the domain and go to Advanced > Web Rules section.
  1. Select the ghost-rules.txt file in which you saved the copied rewrite rules from WP Ghost.
  2. Click the Add rules button to upload the rules.

Important: After uploading, edit each rule and change the Action to Internal Rewrite manually, as this is not set automatically during bulk upload.

All the information about WP Engine Rewrites are here: https://wpengine.com/support/web-rules-engine/#Rewrite_Web_Rules

John Darrel

Change Database Prefix in WordPress

Because hackers often use bots to search for security flaws in your website, it is…

1 year

Customize WordPress Uploads Directory

The easiest way to change the default media uploads path is to use the WP…

1 year

WP Ghost and WP Rocket Cache

To hide all CSS and JS you need to follow the steps to Combine the…

1 year

Why is website security important?

https://youtu.be/6ylhojSi-_E In this video, we’ll explore why website security matters and what can happen if…

1 year

Is WordPress Website Easily Hacked?

The security of your WordPress site depends on multiple factors, such as the strength of…

1 year

Setting up Two-Factor Authentication (2FA) for WordPress Using Mobile Apps

When you enable two-factor authentication (2FA) for your WordPress website, it adds an extra layer…

1 year