Title: Log out issue
Last modified: August 16, 2023

---

# Log out issue

 *  Resolved [ailaina123456](https://wordpress.org/support/users/ailaina123456/)
 * (@ailaina123456)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/log-out-issue-4/)
 * Hi,
 * When plugin is activated, I have an issue when logging out from my website, the
   page keeps on loading indefinitely. It does log out but the page would never 
   load.
 * Regards

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/log-out-issue-4/#post-16976016)
 * First and foremost try to identify what is breaking things by just disabling 
   CSS or JS or HTML or Image optimization (incl. lazyload). Based on that we can
   see what the next steps need to be 🙂
 * frank
 *  Thread Starter [ailaina123456](https://wordpress.org/support/users/ailaina123456/)
 * (@ailaina123456)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/log-out-issue-4/#post-16976106)
 * Thanks for your quick feedback
 * Indeed, when the js optimization is activated that the issue appears.
 * Also I have had to add this set up in the file exception :
 * wp-includes/js/dist/, wp-includes/js/tinymce/, js/jquery/jquery.min.js, wp-content/
   themes/BookYourTravel/js
 * I had no problem till a week or so, before it was working well
 * Thanks
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/log-out-issue-4/#post-16976302)
 * likely something (a plugin or your theme) updated, changing the way logouts work.
 * can you try switching off “aggregate JS” and instead enable “don’t aggregate 
   but defer” and “also defer inline JS” (you might even be able to remove some 
   exclusions if this works)?
 * frank
 *  Thread Starter [ailaina123456](https://wordpress.org/support/users/ailaina123456/)
 * (@ailaina123456)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/log-out-issue-4/#post-16977558)
 * I switched off “aggregate JS” and instead enable “don’t aggregate but defer” 
   and “also defer inline JS” but the issue is still there.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/log-out-issue-4/#post-16977804)
 * OK, next questions 🙂
 * 1. is login/ logout only for the site administrators/ editors or can the site
   users also log in?
    2. do you use a specific plugin to improve/ change login/
   logout or is it default wordpress functionality? 3. when checking the browser
   console, do you see javascript errors when JS is optimized (by either aggregating
   or deferring)?
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/log-out-issue-4/#post-17042646)
 * any news [@ailaina123456](https://wordpress.org/support/users/ailaina123456/)?
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/log-out-issue-4/#post-17057515)
 * No feedback so I assume you found a solution ailaina123456 ? Feel free to follow
   up if you still encounter issues!
 * have a nice day!
    frank

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

The topic ‘Log out issue’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/log-out-issue-4/#post-17057515)
 * Status: resolved