I need to have a custom login url for a wordpress website that will use an headless theme to show a registration form.
I've tried using the login_url
filter but the result isn't really what I was expected, I need to create a page in my wp dashboard and assign a page template where I call the default wordpress login form.
How I can correctly change the wp-admin and wp-login urls with a custom plugin that use actions or filters?
wp-login.php
. Likewisewp-admin
is fixed and unmovable, you cannot change the folder name or move it or display at a different URL. You can change where the user goes when they log in though, what's the problem you're trying to solve that requires this specific solution?