login issue

  • Posted in : Efor
  • chakobeirut
    Participant

    When I log in to Tutor LMS, it says ‘Successful’, but the page refreshes back to the login screen. Can you help? I tried the No Cache preview and it worked, so it may be caused by the LiteSpeed plugin. Please guide me on how to solve this problem.

    serkan
    Moderator

    Hi,

    Thank you for your message and for checking with the No Cache preview — that’s a very helpful clue. 🙏

    Yes, this behavior usually happens when a caching or optimization plugin (like LiteSpeed Cache, WP Rocket, or Cloudflare) stores a cached version of the login page. As a result, after a successful login, the browser reloads the cached version instead of redirecting to the dashboard.

    Please try the following steps:

    1️⃣ Exclude Tutor LMS pages from cache:
    Go to LiteSpeed Cache → Page Optimization → Excludes, and add these pages to the “Do Not Cache URIs” list:

    /dashboard/
    /login/
    /register/
    /courses/
    /lesson/
    

    2️⃣ Purge all cache:
    After saving the exclusions, go to LiteSpeed Cache → Toolbox → Purge All to clear cached content.

    3️⃣ Disable HTML caching temporarily:
    Under Cache → Cache Rules, make sure logged-in users are excluded from caching.

    4️⃣ Retest login:
    Try logging in again in a private/incognito browser window.

    If the issue disappears, it confirms that caching is the cause.

    If possible, please also share your website URL so we can inspect the caching headers or confirm if anything else (like Cloudflare) might be affecting it.

    Kind regards,
    Serkan

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register