How to change url of wordpress login??

Hi!

I checked the box “Redirect to the WordPress login when a user who is not logged in tries to access a file” in the settings
but it is redirecting to the admin login (/wp-admin)… I need to change it to /connexion that is the user login… how can I do that??

Thanks and have a nice day!


Comments

One response to “How to change url of wordpress login??”

  1. Hi Pierre,

    Welcome to our support channel for Groups and Groups File Access.

    In order to change the URL of the login page and take your users to your own login page, there is a filter hook provided by WP core, login_url.
    If you have a look after the hook description and especially under User Contributed Notes, there are a few example implementations for it.
    As a reminder your implementation can be placed in the functions.php of your theme and more preferably a child theme, so that it will keep those changes intact after a future update of the theme.

    Kind regards,
    George

Share