0

i need to redirect users after login. I use wp_login_form to provide a login form on the frontpage.

After a user entered username and password i'd like to redirect to a custom url, like http://myurl.com/username/ where 'username' is the name the user entered.

Could i somehow filter login_redirect?

Thank you!

0

You can filter and set where you want to redirect to which user or role with the plugin Peter's Login Redirect.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.