• Resolved lauramcmillancreative

    (@lauramcmillancreative)


    Hello,

    When I use the advanced preset, it changes my fonts and stops images from loading correctly when users go specifically from my instagram page or Linktree to any link on my website. This issue is not occurring outside of going via Instagram. I appreciate that this is an in-app browser issue, but as it can be rectified by changing the preset from Advanced to Basic, there must be a way to tweak this.

    I would like to keep the preset as Advanced because it makes my website dramatically faster, but it looks awful on mobile. The images not loading on the web link given is a dealbreaker. The majority of my clients come via instagram so it’s key that it looks correct.

    To produce this issue…
    Go to Instagram (app on mobile)
    Search Andy Wade Photography (@andywadephotography)
    Click on the Linktree (linktr.ee/andywadephotography)
    Click on Real Weddings (https://andywadephotography.com/real-weddings/)

    Please compare the in app view to a normal mobile browser view.

    Please advise on how to rectify this – I am not fluent with editing code so basic instructions would be appreciated.

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

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

    (@qtwrk)

    please provide the report number

    you can get in toolbox -> report -> click “send to LiteSpeed”

    Thread Starter lauramcmillancreative

    (@lauramcmillancreative)

    Hi there,

    Please see report number below:

    Report number:?IDPUPEWC

    Report date: 03/02/2023 11:37:29

    Plugin Support qtwrk

    (@qtwrk)

    if (stripos($_SERVER['HTTP_USER_AGENT'],"Instagram") !== false ) {
    define( 'LITESPEED_CONF', true );
    define( 'LITESPEED_GUEST_OPTM', false );
    define( 'LITESPEED_GUEST', false );
    }

    please try add this to your wp-config.php , top of it , then purge all , and check again on Instagram

    Thread Starter lauramcmillancreative

    (@lauramcmillancreative)

    Hello,

    Unfortunately I couldn’t get this to work. I tried placing it in multiple places in the wpconfig file and it had no effect (though if I put it at the absolute top the code snippet appeared on the website – so I’m definitely editing the right file).

    Plugin Support qtwrk

    (@qtwrk)

    huh ? where exactly did you put it ? it can’t be shown on page

    if you see this code in page, then you must have done it incorrectly

    Thread Starter lauramcmillancreative

    (@lauramcmillancreative)

    I tried in multiple places within the file. I’ve attached a screenshot, please could you advise exactly where to place the code?

    I placed it at the very very top as one attempt though I didn’t think this would work, but it did confirm I was editing the right file. I’m not very familiar with php.

    Plugin Support qtwrk

    (@qtwrk)

    please try put it next line after <?php

    Thread Starter lauramcmillancreative

    (@lauramcmillancreative)

    When I added it there, it broke the site.

    I overwrote the wp-config file with the code placed as described and then I couldn’t access the site. Tested a few times adding/removing – each time it was added I got the lower screen.

    Plugin Support qtwrk

    (@qtwrk)

    the part after $_SERVER is wrong from your screenshot , please check again on my code.

    Thread Starter lauramcmillancreative

    (@lauramcmillancreative)

    Apologies. Not sure how that happened from a copy/paste.

    I’ve updated it, overwritten it, purged, but the issue still persists.

    Plugin Support qtwrk

    (@qtwrk)

    please try change these 3 lines of define.... to define('LSCWP_V', '1'); purge again , and test

    Thread Starter lauramcmillancreative

    (@lauramcmillancreative)

    Apologies, please can you write it out, I’m not sure what to change. Is it just the bit between the ‘ ‘ ? I.e. ‘LITESPEED_CONF’ becomes ‘LSCWP_V’?

    Plugin Support qtwrk

    (@qtwrk)

    if (stripos($_SERVER['HTTP_USER_AGENT'],"Instagram") !== false ) {
    define( 'LSCWP_V' , '1');
    }

    something like this

    Thread Starter lauramcmillancreative

    (@lauramcmillancreative)

    Yes, that worked thank you!

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Fonts not working/Images on Advanced’ is closed to new replies.