Skip to contentSkip to main navigation Skip to footer

How to Change and Hide WP-Admin Path with Hide My WP Ghost Plugin

By following these steps, you can enhance the security of your WordPress website and prevent unauthorized access by hacker bots.

Activate and Configure

Activate Safe Mode or Ghost Mode

  1. After installing and activating the Hide My WP Ghost plugin, navigate to the WordPress dashboard.
  2. Locate the “Hide My WP” menu on the left-hand side and click on it.
  3. In the Hide My WP Ghost settings, find the “Change Paths” tab and click on it.
  4. Under the “Lever of Security” section, you will see options such as “Safe Mode” or “Ghost Mode“.
  5. Choose either Safe Mode or Ghost Mode, depending on your preference and website requirements.
  • Safe Mode: This mode offers essential protection by changing paths and hiding sensitive information. It is recommended for most websites.
  • Ghost Mode: This mode provides advanced protection by adding additional layers of security. It disguises the WordPress installation and plugins, making it more difficult for hackers to detect.
  1. Select the desired mode by toggling the switch to the “On” position.
  2. Click the “Save Changes” button to apply the selected mode.

Changing the WP-Admin Path

Changing the wp-admin path refers to modifying the default URL used to access the WordPress admin dashboard. While using the default wp-admin path is generally secure since it is only visible to logged-in users, hiding the wp-admin path becomes crucial for protecting against bots and attacks.

However, it’s important to note that not all servers are compatible with custom wp-admin paths in the WordPress dashboard, so server configuration considerations should be taken into account when making such changes.

custom wp-admin path

Follow these steps:

  1. Within the Hide My WP Ghost settings, under the “Change Paths” tab, locate the “Admin Security” section.
  2. Enter your desired custom name for the wp-admin path in the provided field. For example, you can use “customadmin” or any other name of your choice.
  3. Click the “Save Changes” button to apply the new wp-admin path.

Important Note: Select a custom name that is not easily guessable to improve security.


Hide the WP-Admin Path

When you enable the “Hide wp-admin” option in Hide My WP Ghost plugin, the wp-admin path becomes invisible and inaccessible to non-logged-in users in WordPress. Only users with proper login credentials will be able to access the wp-admin path and WordPress dashboard.

By hiding the wp-admin path, you enhance the security of your WordPress site, protecting it from unauthorized access and brute-force attacks. Take advantage of this powerful feature to keep your website safe and secure.

hide wp-admin not found page
hide wp-admin path

Follow these steps:

  1. In the Hide My WP Ghost settings, find the “Change Paths” tab and click on it.
  2. Under the “Admin Security” section, locate the “Hide wp-admin” option and toggle the switch to the “On” position.
  3. Click the “Save Changes” button to enable the hiding of the wp-admin path.

Hiding the WP-Admin Path from Non-Admin Users

By default, the wp-admin path is visible for all WordPress logged users.

With this option enabled, non-admin users will be unable to access the wp-admin path, providing an additional layer of security for your website.

However, Hide My WP Ghost gives you the option to only show the wp-admin path for site administrators.

hide wp-admin from non-admin users

Follow these steps:

  1. In the Hide My WP Ghost settings, under the “Change Paths” tab, navigate to the “Admin Security” section.
  2. Locate the option labeled “Hide ‘wp-admin’ from Non-Admin Users” and toggle the switch to the “On” position.
  3. Enabling this option ensures that only website administrators can access the wp-admin path.
  4. Click the “Save Changes” button to apply the settings.

Running a Security Check

  1. After saving the settings, it is recommended to run a security check to ensure the wp-admin path is hidden.
  2. In the Hide My WP Ghost settings, navigate to the “Security Check” tab.
  3. Click the “Start Security Check” button to initiate the check.
  4. The security check will scan your website and verify if the wp-admin path is properly hidden.

Congratulations! You have successfully learned how to change and hide the wp-admin path using the Hide My WP Ghost plugin.


Troubleshooting and FAQs

Server Configuration Issue & Plugins Compatibility

In some cases, changing the wp-admin path may cause compatibility issues with certain server configurations or plugins. If you encounter any functionality issues after changing the wp-admin path, here are a few steps to troubleshoot:

a. Use the default wp-admin path.

If you experience backend issues, first revert back to the original wp-admin path.

Activate the option to hide wp-admin path from not logged-in users.

b. Check Plugin Compatibility.

Some plugins may rely on the default wp-admin path and may not function properly with a custom path. Temporarily deactivate other plugins one by one to identify if any particular plugin is causing the issue.

If you find a conflicting plugin, consider reaching out to its developer for assistance or explore alternative plugins that are compatible with custom wp-admin paths.

c. Consult with Your Web Hosting Provider.

They may be able to provide insights into any server configurations or limitations that could be affecting the functionality of custom wp-admin paths.

Nginx Servers (e.g., WP Engine) and Path Redirection:

Servers like WP Engine handle custom wp-admin paths differently using path redirection instead of mapping. This difference can cause Hide My WP Ghost to be unable to identify calls to the custom wp-admin path.

If you are using a WP Engine or similar Nginx server and experiencing issues with custom wp-admin paths, consider using the default wp-admin path and hide the wp-admin path from not logged-in users.

use default wp-admin path

Can’t Login to WordPress Anymore via Wp-Admin

If you are experiencing difficulties logging into your WordPress site through the wp-admin path, it may be due to the customized wp-admin path and the activation of the “Hide wp-admin” option in the Hide My WP Ghost plugin.

hide wp-admin path

When you enable the “Hide wp-admin” option in the plugin’s settings, it hides the wp-admin path for enhanced 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 traditional wp-admin path.

To resolve this issue and regain access to your site’s backend, you can follow these steps:

  1. In the Hide My WP Ghost settings, under the “Change Paths” tab, navigate to the “Admin Security” section.
  2. Disable the “Hide wp-admin” option by toggling it off.
  3. Save the changes.

By turning off the “Hide wp-admin” option, you should now be able to access the backend of your site using the customized wp-admin path.


How Can I Change The WP Paths In Admin Dashboard?