Title: Logout doesnt redirect properly.
Last modified: September 1, 2016

---

# Logout doesnt redirect properly.

 *  Resolved [outcast3rd](https://wordpress.org/support/users/outcast3rd/)
 * (@outcast3rd)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/logout-doesnt-redirect-properly/)
 * I am able to logout if I am on the same page that I logged in but when i go to
   another page and then come back to the same page with the logout button it will
   not redirect properly. For some reason the user will be logged out but get a 
   error that he/she wasnt redirected to the correct page.
 * [https://wordpress.org/plugins/clean-login/](https://wordpress.org/plugins/clean-login/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [bjehanian](https://wordpress.org/support/users/bjehanian/)
 * (@bjehanian)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/logout-doesnt-redirect-properly/#post-7598369)
 * I spent most of today looking for a way to place some code to logout and redirect
   to a specific page. Then I was looking at some plugins. Suddenly it dawned on
   me that I could add a logout very easily to my menu. It was so stinking easy.
   All I did was add the login page to the menu and renamed it logout. So now when
   a user clicks logout, they are taken to the login screen. It was seriously that
   easy. I don’t claim to know everything about wordpress, but this seems to work
   without the need for more code or another plugin. I hope it works for you too.
 *  Thread Starter [outcast3rd](https://wordpress.org/support/users/outcast3rd/)
 * (@outcast3rd)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/logout-doesnt-redirect-properly/#post-7598381)
 * I have it somewhat set like that. It seems to be a issue not finding the correct
   authentication page to logout the user or maybe the directory. Thanks for the
   info though.
 *  Thread Starter [outcast3rd](https://wordpress.org/support/users/outcast3rd/)
 * (@outcast3rd)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/logout-doesnt-redirect-properly/#post-7598388)
 * Okay I narrowed down the issue with my website not being direct correctly. It
   is because I am using a slug for the login.php. Now I have to look where should
   I have to code in the clean login to be able to allow my slug to work correctly.
 *  Plugin Author [Alberto Hornero](https://wordpress.org/support/users/hornero/)
 * (@hornero)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/logout-doesnt-redirect-properly/#post-7598454)
 * Hi outcast3rd, what’s the mod you did? in order to check is there is any way 
   to make Clean Login compatible with your case.
 * Regards,
 * Alberto.
 *  Thread Starter [outcast3rd](https://wordpress.org/support/users/outcast3rd/)
 * (@outcast3rd)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/logout-doesnt-redirect-properly/#post-7598465)
 * iThemes Security is conflicting with Clean login, they have a feature to allow
   the administrator to change the wp-admin to something else. The way I solved 
   this issue is forced a redirect from the clean login settings. This way they 
   are automatically redirect to the forum section. The problem is I get prompted
   in another page if I am sure I want to log out. When I deactivate iTheme Security
   plugin then Clean login works fine.
 *  Plugin Author [Alberto Hornero](https://wordpress.org/support/users/hornero/)
 * (@hornero)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/logout-doesnt-redirect-properly/#post-7598484)
 * Thanks for the feedback. I’m sorry but I don’t have any other proposal.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Logout doesnt redirect properly.’ is closed to new replies.

 * ![](https://ps.w.org/clean-login/assets/icon-256x256.png?rev=1602118)
 * [Clean Login](https://wordpress.org/plugins/clean-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/clean-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/clean-login/)
 * [Active Topics](https://wordpress.org/support/plugin/clean-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/clean-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/clean-login/reviews/)

## Tags

 * [Backend](https://wordpress.org/support/topic-tag/backend/)
 * [login](https://wordpress.org/support/topic-tag/login/)
 * [Logout](https://wordpress.org/support/topic-tag/logout/)
 * [redirect](https://wordpress.org/support/topic-tag/redirect/)

 * 6 replies
 * 3 participants
 * Last reply from: [Alberto Hornero](https://wordpress.org/support/users/hornero/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/logout-doesnt-redirect-properly/#post-7598484)
 * Status: resolved