Open login.php which is located at “\wp-content\plugins\wp-user-frontend-pro\class\” and go to line number 346 and you'll see something like $redirect = home_url( '/' ); you have place your page's url inside home_url( ” ).

I have a page named Sample Page and its url is http://mysite.com/sample-page/ and I have modified the function like $redirect = home_url( '/sample-page/' );

I did what you suggest here and it works – but not for users that are activating their account. They still land on the generic page saying you're logged in. Only once I log out, use a fresh URL and then log in, I get redirected. How do I apply the redirect to all users that log in – even the ones that are just verifying their accounts?

Author

Posts

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Redirect Login page after sign-in’ is closed to new replies.