• Resolved JS

    (@rucifa)


    Hi, I have a problem after upgrade LSCWP to ver 4 above
    In ver 3.64, the website worked great, but it seems layout become weird now.(Pictures don’t displayed)
    I asked theme support, they told me should the cache plugin’s problem.

    Here is my header’s setting(In OpenLiteSpeed), could you help me to solve this problem?

    Strict-Transport-Security: max-age=63072000; includeSubDomains; preload
    Content-Security-Policy: default-src https:
    X-Content-Type-Options “nosniff” always
    X-Frame-Options: SAMEORIGIN
    X-XSS-Protection 1;mode=block
    Referrer-Policy: no-referrer-when-downgrade
    Permissions-Policy: geolocation=(self “”),`

    PS:If I login in to admin panel, then back to front page. The picture displayed!
    But in privacy browser mode, the page still can’t displayed.

    • This topic was modified 4 years, 8 months ago by JS.
    • This topic was modified 4 years, 8 months ago by JS.
    • This topic was modified 4 years, 8 months ago by JS.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    as I have explained in other topic

    you need to either get rid of this header Content-Security-Policy: default-src https: or properly tune it for inline script and data img

    Best regards,

    Thread Starter JS

    (@rucifa)

    Hi qtwrk,
    I have no idea how to tune this header
    Content-Security-Policy: default-src https:
    Could you give some suggestions?

    Plugin Support qtwrk

    (@qtwrk)

    https://report-uri.com/home/generate

    This May help, but if you don’t know how to tune it, then better remove it,

    It should be from your htaccess or a security plugins if you have.

    You can also contact your hosting provider for assistance, they should be able to source it real quick

    • This reply was modified 4 years, 8 months ago by qtwrk.
    • This reply was modified 4 years, 8 months ago by qtwrk.
    Thread Starter JS

    (@rucifa)

    Hi qtwrk
    At first I removed Content-Security-Policy: default-src https:
    Then flush All CDN Cache in quic.cloud admin panel, also flushed in Cloudflare cache in admin panel, too.

    Open the private browser, check the website, the problem still the same.
    Could you check please?

    • This reply was modified 4 years, 8 months ago by JS.
    Thread Starter JS

    (@rucifa)

    Hi qtwrk,
    My hosting provider is Vultr VPS(unmanage hosting), I don’t think they could help for me.
    So all I can do is try to find out where the problem and solve it.

    Plugin Support qtwrk

    (@qtwrk)

    please try export your current setting , then reset to default , see how it goes

    you can do it in toolbox -> export/import

    Thread Starter JS

    (@rucifa)

    Hi qtwrk,
    It looks like worked, thank you so much!!

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

The topic ‘Theme layout become weird’ is closed to new replies.