There is a individual personal page, the user profile. I don’t know about the functionality you are talking about, but you can use the login_redirect
hook to redirect users after logging in. To get the URL needed we use the get_edit_profile_url()
, which returns the link to before mentioned user profile.
add_action( 'login_redirect', 'wpse194827_redirect_to_user_profile', 10, 3 );
function wpse194827_redirect_to_user_profile( $redirect_to, $request, $user ) {
return get_edit_profile_url();
}
Related Posts:
- Increase of failed login attempts, brute force attacks? [closed]
- How to prefill WordPress registration with social details
- Redirect user using the ‘wp_login_failed’ action hook if the error is ’empty_username’ or ’empty_password’
- wp_signon() does not authenticate user guidance needed
- Disable WordPress 3.6 idle logout / login modal window / session expiration
- How to pass users back and forth using session data?
- Avoid to load default WP styles in login screen
- Integrate recaptcha and wp_signon – what is needed?
- How do I check if a post is private?
- Programmatically log in a wordpress user
- Send reset password link to user from custom lost password form
- Change sign-on URLs for security purposes
- Can’t stop hacker trying to get admin access in WordPress blog after trying many ways [closed]
- Hook for fail and successful login actions
- How long do users stay logged in if they DON’T check remember me?
- How does WordPress track that a certain User is Logged-In
- Mobile users redirected to a different page on login unless linked to another post
- 2 wordpress blogs with 1 users table and 1 login
- How can i add validation to this login form with out it redirecting to the wp-login.php page
- Bootstrap Modal as login page
- Custom login page always redirecting to wp-login.php
- Force users to register in order to view website [duplicate]
- auto login after registeration for wp-members plugin
- Passing username to login screen
- Sniffing wordpress user’s credentials
- How to Get Logged-in to “Remote WP Site” from my local script (in Same Browser)?
- v5.6.2 User cannot stay logged in – wordpress_test cookie placed but not auth cookies
- How to set JWT token with PHP on successful login?
- wp-admin redirects to subdirectory after moving installation to subdirectory
- Share WordPress login info with other PHP app
- Facebook login for private group members
- WordPress c-panel login error [closed]
- Locked Out Of WordPress, Can’t Reset Through PHPMyAdmin
- Facebook and WordPress
- Does WordPress (or a plugin) reveal login credentials to admin?
- How can I remove “Powered by WordPress” pop-up disclaimer in wp-login.php?
- User needs to login first before accessing website
- Redirecting after login?
- How can I redirect wp-login.php but still allow logout and other actions?
- Changed the url into https and now can’t access site admin
- Can’t log in. WordPress says my account doesn’t exist [closed]
- Form Action submit over https
- Display first name instead of username
- How do I add Login fields and registration link to the header?
- How to make a user be able to register if such a login already exists?
- Can not login to wordpress site after resolving white screen of death
- WordPress on localhost (LAMP) – Can’t login, just redirects to wp-login.php
- add_action(‘init’) not work
- Password not resetting on wordpress?
- WordPress “wp-admin” redirecting to a user account login
- How to restrict access to a single for users I’ve authorized? [closed]
- I renamed my server from http to https and now I can’t login
- https to https problem – 404 and can’t login
- wordpress login without password just email address (NO 2 factor authentication with email)
- Does WordPress have built in brute force protection?
- Hide Author page from others
- Check if specific user is online outside wp
- wp_login_url not working correctly
- Single sign on for multiple domains
- Is there an application I can use to protect documents?
- WordPress Submitted Content
- Bizarre wp_signon problem
- Is it possible to use WordPress functions in a page template?
- How to change the login-URL with function.php?
- Login error ” There has been a critical error on this website”
- login with users info in a different database
- How show login popup to guest only and redirect logged in users?
- insert a WordPress page content into a pop up
- wp-login.php not working goes back to home page
- Will the same WordPress logins work after a site migration?
- Possible to create a login wall?
- All pages gives 404 except homepage and wp-login
- Check for $ _POST fields in a POST method form
- Styling WordPress login page – Can I change the markup on the login page?
- WP login admin name incorrect send to another page or site
- WordPress login is not showing , there is warning?
- WordPress Redirect After logging
- Custom login method appears to ignore auth_cookie_expiration
- Cannot login to wp-admin as redirect set to page not yet published
- Users can not login into wordpress website
- Cannot login to WP after force recovery
- redirect_to not Including Hashtag from URL
- Updating usermeta from login redirect to billing address
- Login / Register for specific pages
- Opening protected page with cookie?
- Login user after registration programmatically
- wp_lostpassword_url not escaped
- Directory authentication initially succeeded, but no valid profile was found (“get entries” procedure)
- Secure login without SSL? [closed]
- Cant login, Password MUST be reset error, after reset
- External Authentication
- Trim the repeated value in URL
- Warning: session_start(): Cannot send session cookie – headers already sent by
- Login to wordpress with filezilla client [closed]
- I can’t login to wordpress dashboard without SSH
- Member Area Login with Fail Message
- Username character requirements
- Users cannot log in using popup
- Login and register by API
- Log in a user upon password reset?