well the problem is that i can’t seem nor my cutomers to log out of the website.
i used to go with w3tc but it actually slowed down the site for me so i moved to hyper cache and felt a great difference according to speed.
i faced this issue while using w3tc but i solved it by excluding homepage out of cash. now i am using hyper cache and cloudflare but i cant log out my website. i am using a login/logout widget and it redirects to the home page on logout at all unless i clear the cache and then refresh the page.
to be more specific i opened the site in a different browser and logged in as a customer then tried to logout from the homepage but it kept saying that i am logged in and when i press logout again it showed me a wordpress notification saying
“You are attempting to log out of Natateef
Do you really want to log out?”
then i cleared the cash and refreshed the page and it showed that i am logged out.
i tried this with “Home caching” checked and unchecked but it did not make any difference. i still can not logout untill i clear the cash! :S
i did uncheck the “Redirect caching” option hoping that it would solve the issue but still it did not.
i also did add a page rule at cloudflare to exclude my homepage from cashing so i know that it’s not a problem with cloudflare, actually it’s obvious because the status changes to logged out when i clear the cache in the hyper cache plugin.
so please tell me how to solve this problem,
- The topic ‘can't logout’ is closed to new replies.