Logout redirects to default page

Question

New to wordpress and not a php developer, but I’m currently having an issue with a user being redirected to a default wordpress page and being asked to confirm if the user wants to log out twice. I have added screen shots of what is going on. I tried modifying the function in functions.php that handles the logout and another function wp-login.php (picture below) but have had no luck. Has anyone else ran into this issue before or any idea how to fix it?

Thanks!

Below are 2 images pertaining to the behavior of my website in its current state. After I click ‘logout’ in my nav bar, I get taken to the page in the 3rd image below and after i click the logout button, I get taken to a duplicate page and it looks like it tags stuff on the end of the urls query parameters.

enter image description here

enter image description here

enter image description here

enter image description here

0
, , Scott 5 years 2018-04-14T19:11:36-05:00 0 Answers 69 views 0

Leave an answer

Browse
Browse