If you’re locked out of your WordPress site, the theme is broken, or paths aren’t working after configuring WP Ghost, use one of these methods to regain access. Both methods temporarily disable WP Ghost’s path changes so you can log in with the default /wp-login.php path and fix the issue.

Method 1: Use the Safe URL

WP Ghost generates a unique Safe URL that temporarily disables path changes when accessed. You can find it in two places:

From WP Ghost settings (if you still have admin access): Go to WP Ghost > Change Paths and copy the Safe URL shown in the sidebar. It looks like https://yourdomain.com/wp-login.php?your_unique_code.

WP Ghost Change Paths sidebar showing the Safe URL for temporarily disabling path changes

From WP Ghost Dashboard (if you’re locked out): Log in to your WP Ghost Dashboard cloud account. Find your connected website and click the Safe URL link. This opens the default WordPress login page with WP Ghost temporarily deactivated.

WP Ghost Dashboard connected websites section showing the Safe URL link for emergency access

After logging in through the Safe URL, WP Ghost reactivates automatically. Go to WP Ghost > Change Paths to fix the configuration issue before it causes problems again.

Keep your Safe URL private. Anyone with the Safe URL can temporarily disable WP Ghost’s path changes on your site. Don’t share it publicly or include it in support tickets on public forums.

Method 2: Rename the plugin folder via FTP or File Manager

If you don’t have access to the Safe URL (you didn’t connect to the WP Ghost Dashboard, or you don’t remember the code), deactivate WP Ghost by renaming its folder:

  1. Connect to your server via FTP, SFTP, or your hosting control panel’s File Manager.
  2. Navigate to /wp-content/plugins/.
  3. Rename the hide-my-wp folder to hide-my-wp1.
  4. Access your site at yourdomain.com/wp-login.php and log in.
  5. Rename the folder back to hide-my-wp to reactivate WP Ghost.
  6. Go to WP Ghost > Change Paths and reconfigure the settings, following the server configuration instructions for your server type.
File manager showing the hide-my-wp plugin folder being renamed to hide-my-wp1 to temporarily deactivate WP Ghost

After regaining access

Once you’re logged in, review what caused the issue before reactivating the same settings. Common causes include incorrect server configuration (run the Frontend Test at WP Ghost > Change Paths), plugin conflicts (see Plugin or Theme Conflicts), cache serving old paths (clear all caches), and custom paths that your server doesn’t support (try Safe Mode instead of Ghost Mode). If you need help, contact WP Ghost support with details about the issue.