If you are logged in as an administrator on WordPress and still can’t access the new admin path set in WP Ghost, this typically occurs when a valid browser session is not established for the custom admin path.
For the custom admin path to work, WP Ghost attempts to create a browser session on it as soon as the path is changed. A re-login might be necessary if the session creation fails due to server configurations.
If no session exists on the custom admin path, WordPress considers it invalid and redirects all calls to the home page. The issue may arise from server settings or compatibility problems with other security plugins.
Note! WP Ghost also creates a session on the default /wp-admin
path to ensure accessibility if the plugin is deactivated.
Solutions
Re-login to WordPress Dashboard
The re-logged in will create a session for both the default and custom admin paths.
- To regain access to the WordPress dashboard, navigate to the default admin URL:
https://domain.com/wp-admin
. - Log out of your website and log in again so that WP Ghost will create a session for the custom admin path, too.
Check for Server Configuration Issues
Some server settings may interfere with WP Ghost’s functionality:
- Clear your server and WordPress cache. Cached configurations may prevent the custom path from working.
- Verify that the
.htaccess
file or NGINX configuration supports the custom admin path. - Verify with the website host if the server configuration allows custom admin paths.
Deactivate Other Security Plugins
Conflicts with other security plugins might cause the custom admin path to malfunction:
- Temporarily deactivate other security-related plugins.
- Re-login or use another browser to test the custom admin path again.
- If the issue is resolved, identify the conflicting plugin and configure it to work alongside WP Ghost.
Use the Default /wp-admin
Path
If the custom admin path remains inaccessible after troubleshooting:
- Temporarily revert to the default
/wp-admin
path from WP Ghost > Change Paths > Admin Security to manage your site. - Keep WP Ghost enabled for its other security features while investigating the root cause.
