Troubleshooting

The New Admin Path Is Redirected To Front Page

If your custom admin path (the one you set to replace wp-admin) redirects to the homepage when you’re not logged in, the Hide the New Admin Path option is active. This option hides the custom admin path from non-logged-in users, so accessing it before logging in redirects to the front page.

Use the custom login path first

This is the intended behavior when Hide the New Admin Path is active. You need to log in through your custom login path first (for example, yourdomain.com/my-login), then access the admin dashboard. The custom admin path only works for already-authenticated users. This prevents bots from discovering your admin area even if they find the custom path name.

Allow the custom admin path to redirect to login

If you want the custom admin path to redirect non-logged-in users to the login page (instead of the homepage), disable the Hide option:

  1. Go to WP Ghost > Change Paths > Admin Security.
  2. Switch off Hide the New Admin Path.
  3. Click Save.

With this option off, accessing the custom admin path while not logged in redirects to your login page. After logging in, you’re taken to the admin dashboard automatically.

Can’t access the admin dashboard at all

If you can’t log in through any path, use the Safe URL parameter to temporarily bypass WP Ghost’s path changes, or follow the emergency disable guide to deactivate WP Ghost via FTP.

John Darrel

Change the WordPress Database Prefix for Security

Replace the default wp_ database prefix with a random one to protect against SQL injection…

1 year

Customize WordPress Uploads Directory | WP Ghost

Change the WordPress uploads directory path with WP Ghost (rewrite rules, no files moved) or…

1 year

WP Ghost and WP Rocket Cache Setup Guide

Configure WP Ghost with WP Rocket cache. Enable file optimization, Change Paths in Cache Files.…

1 year

Why is website security important?

https://youtu.be/6ylhojSi-_E In this video, we’ll explore why website security matters and what can happen if…

1 year

Is WordPress Website Easily Hacked?

The security of your WordPress site depends on multiple factors, such as the strength of…

1 year

Set Up WordPress 2FA with Mobile Authenticator Apps

Step-by-step guides to connect WP Ghost 2FA with Google Authenticator, Authy, Microsoft Authenticator, or LastPass.…

1 year