- 
		Author
 - 
		
			
				
August 15, 2016 at 22:59 #132561
alvin.cosio
Participantsometimes or randomly when user use logout button it will goes to wordpress login but not on the theme login. try to go profile then click the settings and logout. you will see it will goes to wp login. how can i avoid that? i want all the user redirect to login page after logging out.
August 16, 2016 at 20:35 #132715Radu
Moderatorhi,
Using this method : https://wordpress.org/support/topic/wp-logout-page-redirect-to-homepage
You can have a logout redirect…
just paste this code in wp-content/themes/buddyapp-child/functions.php
COPY CODEadd_action('wp_logout','go_home'); function go_home(){ wp_redirect( home_url() ); exit(); }Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Ticket solutionAugust 16, 2016 at 21:38 #132744Radu
ModeratorGreat
Have a nice week
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 27, 2018 at 22:16 #190025Radu
ModeratorHi @phdsmart did you encounter the same if you de-activate child theme and all plugins excluding buddypress plugin ?
Also did you encounter same issue on our demo ?
Let me know
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution - 
		AuthorPosts
 
The forum ‘Bugs & Issues’ is closed to new topics and replies.
							
						
