What is Flywheel?

Local by Flywheel is a user-friendly local WordPress development tool that simplifies site creation and management on your local machine. It provides features like automatic WordPress installation, advanced development tools, and seamless site synchronization with cloud services.

Local By Flywheel is a Nginx/Apache based solution and it will require some extra setup after you install the WP Ghost plugin on Nginx version.

local flywheel panel

How to Setup WP Ghost on Flywheel

Please follow this tutorial step by step to set up the WP Ghost for Local Flywheel after you installed the plugin.

  1. First, go to WP Ghost > Advanced > Compatibility and select the server type as “Local by Flywheel” to identify the config path and setup.
wp ghost server type local by flywheel
  1. In your WordPress dashboard, go to WP Ghost > Change Paths
  2. Select the Safe Mode or Ghost Mode, scroll down and customize the paths as you like.
wp ghost safe mode
  1. Click the Save button to save the changes.

After the save process, you should receive a message with instructions to include the line in conf/nginx/site.conf.hbs file from the site folder.

include hidemywp.conf in flywheel
  1. Copy the line include includes/hidemywp.conf .
  2. Open the site folder and edit the file conf/nginx/site.conf.hbs .
file manager flywheel files
  1. Add the line before the WordPress Rules like in the image below.
edit flywheel config file
  1. Restart the server from your panel
restart flywheel server
  1. After the flywheel server loads, click the “Frontend Test” and see if the frontend is loading correctly. You can also check the website with a different browser or from incognito mode.
frontend test in wp ghost
  1. If everything loads fine in Frontend, click the button “Yes, it’s working” button. Otherwise click on “No, abort” to roll back to previous settings.