custom login url
-
To implement the security of my websites I impost the change of the login url (so I block wp-login.php and manually set the url) via wp cerber.
The problem is that for certain sites with users I have to make a custom login form, and printing the address with the wp_login_url () function, in fact, it becomes public.
Is it possible to use a login address only for the admin (and therefore the standard WordPress login form) and instead, another address for other roles?So:
https: // mysite / [url set on wp cerber) which allows only the administrator login from standard WordPress form<form class=”myform loginForm” method=”post” action=”<?= wp_login_url(); ?>”> which returns a different URL from the one set on WP cerber that allows me to log in only as a role non administrator?
Doing so, the public login url does not allow access to the admin panel and the url imposted in wpcerber remains secret.
The topic ‘custom login url’ is closed to new replies.