Skip to contentSkip to main navigation Skip to footer

How To Setup Hide My WP on Local 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 Hide My WP Ghost plugin on Nginx version.

flywheel local server

Please follow this tutorial step by step to set up the Hide My WP Ghost for Local after you installed the plugin:

  1. First, go to Hide My WP > Advanced > Compatibility and select the server type as “Local by Flywheel” to identify the config path and setup.
Hide My WP and Local by Flywheel
  1. In your WordPress dashboard, go to Hide My WP > Change Paths
  2. Select the Safe Mode or Ghost Mode, scroll down and customize the paths as you like.
  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.

  1. Copy the line include includes/hidemywp.conf .
  2. Open the site folder and edit the file conf/nginx/site.conf.hbs .

  1. Add the line before the WordPress Rules like in the image below.
  1. Restart the server from your panel
  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.

  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.