A WordPress Security plugin has been installed and changed the WordPress dashboard admin login page from wp-admin to a custom slug, but now the login URL can't be remembered. The following commands are to be run on command line as the cPanel user to find the login URL for the following plugins:
- All In One WP Security (all-in-one-wp-security-and-firewall)
- iThemes Security (better-wp-security)
- WPS Hide Login (wps-hide-login)
- Easy Hide Login (easy-hide-login)
- Change wp-admin login (change-wp-admin-login)
- WP Cerber Security, Antispam & Malware Scan (wp-cerber)
Related Articles
Unlocking WordPress Dashboard when Locked Out by ModSecurity
Log into WordPress Dashboard
Install a WordPress Plugin
Find URL Slug
- SSH into the server
- Navigate to the document root for the site
cd $(docroot.py domain.com)
REPLACE: domain.com with the domain of the site. - Run the appropriate command
TIP: If unsure of what security plugin was used,wp plugin list
can be used to find which plugin was used.-
iThemes login slug (better-wp-security)
wp option pluck itsec-storage hide-backend slug
-
Cerber Security login slug (wp-cerber)
wp option pluck cerber-main loginpath
-
WPS Hide Login slug (wps-hide-login)
wp option get whl_page
NOTE: If the login slug has not been set, the option will not exist. Use the default, /login, for the slug. -
All In One WP Security (all-in-one-wp-security-and-firewall)
wp option pluck aio_wp_security_configs aiowps_login_page_slug
-
Easy Hide Login (easy-hide-login)
wp option get wpseh_l01gnhdlwp
-
Change wp-admin login (change-wp-admin-login)
wp option get rwl_page
-
- Using the slug, visit domain.com/slug to ensure the slug is correct
REPLACE: domain.com with the domain and slug with the slug identified in step 4.
EXAMPLE:user@domain.com [~]# wp option pluck aio_wp_security_configs aiowps_login_page_slug db-login
In the above example the WordPress login URL would be:
http://domain.com/db-login/
Comments
0 comments
Article is closed for comments.