Don’t panic. You’re never permanently locked out. There are two documented ways to regain access, both temporarily disable WP Ghost’s path changes so you can log in at the default /wp-login.php and fix the issue. Method 1: Use your Safe URL. This is a unique URL WP Ghost generates for your site (looks like https://yourdomain.com/wp-login.php?your_unique_code), visible in WP Ghost > Change Paths or in your WP Ghost Dashboard cloud account if you connected it. Method 2: If you don’t have the Safe URL, rename the plugin folder via FTP, change /wp-content/plugins/hide-my-wp to /wp-content/plugins/hide-my-wp1, log in at /wp-login.php, then rename it back. After logging in, go to WP Ghost > Change Paths to retrieve your custom login URL and bookmark it.
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, depending on whether you still have admin access:
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.
From the 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.
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:
- Connect to your server via FTP, SFTP, or your hosting control panel’s File Manager.
- Navigate to
/wp-content/plugins/. - Rename the
hide-my-wpfolder tohide-my-wp1. - Access your site at
yourdomain.com/wp-login.phpand log in. - Rename the folder back to
hide-my-wpto reactivate WP Ghost. - Go to WP Ghost > Change Paths and reconfigure the settings, following the server configuration instructions for your server type.
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.
- Custom paths your server doesn’t support. Try Safe Mode instead of Ghost Mode.
Once everything is stable, bookmark your custom login URL and save your Safe URL in a password manager so you can recover faster next time. For additional help, contact WP Ghost support with details about the issue.
Full guide: Disable WP Ghost In Case Of Error.
Frequently Asked Questions
I forgot my custom login URL. What should I do?
Use the Safe URL if you have it, either from WP Ghost > Change Paths (if you can still reach the admin) or from your WP Ghost Dashboard cloud account. If neither is available, rename the hide-my-wp folder to hide-my-wp1 via FTP, log in at /wp-login.php, then rename the folder back. Retrieve your custom login path at WP Ghost > Change Paths and bookmark it.
What is the Safe URL?
The Safe URL is a unique URL WP Ghost generates for your site that temporarily disables path changes when accessed. It looks like https://yourdomain.com/wp-login.php?your_unique_code. Anyone with the Safe URL can temporarily disable WP Ghost’s path changes, so treat it as private, same as a password.
Where do I find my Safe URL?
Two places: (1) In WP Ghost > Change Paths sidebar, visible while you’re logged in to the admin. (2) In the WP Ghost Dashboard cloud account, which you can access from any device even when locked out of your site. If you connected your site to the WP Ghost Dashboard during setup, this is the fastest recovery path.
Will I lose my settings if I rename the plugin folder?
No. Your WP Ghost settings are stored in the WordPress database, not in the plugin folder. Renaming the folder only deactivates the plugin temporarily. When you rename it back to hide-my-wp and reactivate, all your previous settings are preserved.
What if I don’t have FTP access either?
Most hosting control panels include a File Manager that lets you rename folders without FTP. Log in to your hosting account, open the File Manager, navigate to /wp-content/plugins/, and rename the hide-my-wp folder to hide-my-wp1. If your host doesn’t provide file access at all, contact support, they can rename the folder for you.
Does WP Ghost modify WordPress core files?
No. All path changes are handled through URL rewrite rules and WordPress filters. No files are moved, renamed, or modified. Deactivating WP Ghost (whether through the Safe URL or by renaming the plugin folder) restores all default paths instantly.