Please follow this tutorial step by step to set up the WP Ghost for IIS server:

Select Safe Mode or Ghost Mode

  1. In your WordPress dashboard, go to Hide My WP > Change Paths.
  2. Choose between Safe Mode or Ghost Mode based on your preference.
  3. Customize the paths as desired.
  4. Click the Save button to apply your changes.
Select Safe Mode or Ghost Mode

Edit Rewrite Rules In ‘web.config’

  1. After saving the new path, a message will appear, prompting you to include the rewrite rules in the web.config file located in the root directory of your website.
Edit Rewrite Rules In 'web.config'
  1. Open the web.config file in the root directory of your website.
  2. Add the rewrite rules provided by WP Ghost to your web.config file.
  3. The file should look something like this after adding the rules:
web.config file rules

Save and Apply Changes

  1. Save the web.config file after adding the necessary lines.
  2. Go back to your WP Ghost settings in WordPress.
  3. Press the Okay, I set it up button.

Reload the IIS Server

You need to reload the IIS server to apply the changes.

  1. Open IIS Manager.
  2. Select your server in the left-hand Connections pane.
  3. In the right-hand Actions pane, click Restart.
Reload the IIS Server

Test New Paths & Settings

  1. Perform a Frontend Test to ensure the paths are loading correctly. Also, visit your website and check if the paths are working as intended.
  2. If everything loads fine, click the Yes, it’s working button in the WP Ghost settings.
  3. If there are any issues, click No, abort to roll back to previous settings.
Frontend test success

By following these steps, you will have successfully set up WP Ghost on your IIS server, enhancing the security of your WordPress site.