Support Forum

WordPress Logout URL redirects to forum page

CE celticpride
celticpride
Member

Hi.

 

I’m using the <?php echo wp_logout_url(); ?> on my site, but for some reason, when clicking it, it redirects to the page where the forums are located. With that said, it still does log me out, just doesn’t redirect to the correct page.

 

If I disable the Simple-Press plugin from the Dashboard, then the link will work fine and redirect back to wp-login.php. 

 

Site is: http://itsalltech.com

 

Any thoughts? 

3 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Set the logout url as you want it – forum admin > Components > login and registration.

CE celticpride
celticpride
Member

Ah yes, removing the URL’s completely in that section will fix it. Any chance we can make that more clear (add a switch and have it off by default)? Most users wouldn’t think that’s the reason their logout URL isn’t working. 

YS Yellow Swordfish
Yellow Swordfish
Member

Well… judging by the fact that I think this is the first time in the history of SP that anyone has asked about the logout url I think you are in a very small minority. Most of the time (I would have said virtually all of the time), users are asking us how to hide WP login and registration forms and if the forum logout went directly to the Wp login form we would be plagued with support queries as to how to change it! smile