Support » Plugin: LiteSpeed Cache » When Guest Optimization is Enabled Images Disappear

  • Resolved worpressy

    (@worpressy)


    Hello,

    When Guest Optimization is “On” images on the the site disappear.

    I also see errors in console “wp-content/plugins/litespeed-cache/guest.vary.php”

    Best regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter worpressy

    (@worpressy)

    Report number
    LRASWRUM

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    in your .htaccess , change this block

    RewriteCond %{REQUEST_URI} !^/wp-content/plugins/file/to/exclude\.php
    RewriteCond %{REQUEST_URI} !^/wp-content/plugins/directory/to/exclude/
    RewriteRule wp-content/plugins/(.*\.php)$ - [R=404,L]

    to

    RewriteCond %{REQUEST_URI} !^/wp-content/plugins/litespeed-cache/guest\.vary\.php
    RewriteCond %{REQUEST_URI} !^/wp-content/plugins/directory/to/exclude/
    RewriteRule wp-content/plugins/(.*\.php)$ - [R=404,L]

    Best regards,

    Thread Starter worpressy

    (@worpressy)

    Hi @qtwrk

    Thank you so much!

    it works.

    Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.