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.
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.
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.
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.
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.
Thanks for the feedback. I’m sorry but I don’t have any other proposal.