If the new admin path redirects to the front page when you are not logged in, it’s due to the customized wp-admin path and activating the Hide the New Admin Path option in the WP Ghost plugin.
When you enable the Hide New Admin Path option in the plugin’s settings, access to the custom path is hidden for better security. However, if you have customized your wp-admin path and the option is active, it can prevent you from accessing the backend using the changed admin path.
To resolve this issue and regain access to the login page through accessing the custom admin path:
- Go to WP Ghost > Change Paths > Admin Security.
- Switch off Hide the New Admin Path.
- Save the changes.
By turning off the Hide “wp-admin” option, you should now be able to access wp-admin path. The user will be redirected to the login page if the user is not logged in.