Black Friday Black FridayUp to 85% off all WP Ghost plans.48 months from $49, or pay once for lifetime. SHOP NOW

I Forgot My Custom Login URL in WP Ghost. How Do I Recover?

Moved

This tutorial has moved to the new WP Ghost Knowledge Base where each feature is presented in detail.

View on new site

Open your WP Ghost Dashboard to find the login URL and Safe URL saved for your site. Without dashboard access, open the Safe URL, disable WP Ghost over FTP, or add a constant to wp-config.php.

Method 1: Check your WP Ghost Dashboard

If you have a WP Ghost Premium account, log in to the WP Ghost Dashboard at account.wpghost.com. Your connected websites are listed there with the custom login URL and Safe URL for each one. Copy the login URL and open it.

Method 2: Use the Safe URL parameter

WP Ghost creates a unique Safe URL parameter for your site. If you saved the Safe URL (in a bookmark, password manager or note), open it. It looks like https://example.com/wp-login.php?YOUR_SAFE_PARAM and turns off WP Ghost’s path changes for that request, so the default login page loads and you can log in. The next request without the parameter has WP Ghost active again.

Method 3: Disable WP Ghost via FTP

If you don’t have your Safe URL either, connect to your server using FTP, SFTP, or your hosting’s File Manager. Navigate to /wp-content/plugins/ and rename the hide-my-wp folder to something else (like hide-my-wp-disabled). This deactivates the plugin entirely and restores all default WordPress paths. You can now log in at the standard /wp-login.php. After logging in, rename the folder back, reactivate the plugin from the Plugins page, and your previous settings are restored.

Method 4: Add a constant to wp-config.php

If you prefer not to rename folders, open your wp-config.php file via FTP or File Manager and add this line before the /* That's all, stop editing! */ comment:

define('HMWP_DISABLE', true);

Save the file. WP Ghost is now disabled at runtime. Log in at /wp-login.php, go to WP Ghost > Change Paths > Login Security to find your custom login path, save it somewhere safe, then remove the constant from wp-config.php to re-enable WP Ghost.

For the step-by-step recovery guide, see the Emergency Disable tutorial. For the Pause for 5 minutes link and the reset options, see Rollback Settings.

Prevent this from happening again

After you get back in, save your custom login URL and Safe URL somewhere safe: a password manager, a secure note or a printed copy. You find both at WP Ghost > Advanced > Rollback Settings. Change the Safe URL parameter to something you can remember but nobody can guess, and keep it like a password. With both saved, you get back in within seconds instead of going through FTP.

Frequently asked questions

Will disabling WP Ghost via FTP delete my settings?

No. Renaming the plugin folder deactivates WP Ghost but preserves all your settings in the database. When you rename the folder back and reactivate the plugin, your previous configuration is restored automatically. Only deleting the plugin through the WordPress Plugins page removes saved settings.

Can I find my custom login URL in the database?

Yes, as a last resort. WP Ghost keeps its settings in the hmwp_options row of the WordPress options table, as JSON. Open it in phpMyAdmin or your host’s database manager and look for hmwp_login_url. Try FTP or wp-config.php first; they are quicker.

How do I find my Safe URL if I never saved it?

If you never saved the Safe URL, you cannot retrieve it without dashboard access. Use Method 3 (FTP folder rename) or Method 4 (wp-config.php constant) to regain access. After logging in, go to WP Ghost > Advanced > Rollback Settings to find and save your Safe URL for future use.

Does WP Ghost modify WordPress core files?

No. WP Ghost uses rewrite rules and WordPress filters. No core files are modified. This is why all recovery methods work: deactivating or disabling WP Ghost instantly restores all default WordPress paths because nothing was permanently changed.