• Resolved darrenlow

    (@darrenlow)


    Hello,

    I’m using a theme which comes with a separate mobile page which shows a different homepage and product pages in mobile than in a Desktop.

    Im able to see mobile homepage in mobile, but for product page first visit i able to see mobile version

    The issue is that instead of showing the mobile product page in mobile , it’s shows the desktop version of product page, it solves by purging the cache, but after few minutes later, the same issue appears.

    I thought this might be solved by enabling Cache Mobile in Cache settings, but it’s still there.

    Report number: KBLWKTII
    Report date: 02/14/2020 06:11:25

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

    (@qtwrk)

    Hi,

    Could you please try edit your htaccess

    find code

    ### marker MOBILE start ###
    RewriteCond %{HTTP_USER_AGENT} iPhone|Mobile|Safari\ Mobile|Android| [NC]
    RewriteRule .* - [E=Cache-Control:vary=ismobile]
    ### marker MOBILE end ###

    change it to

    ### marker MOBILE start ###
    RewriteCond %{HTTP_USER_AGENT} iPad|Android [NC]
    RewriteRule .* - [E=Cache-Control:vary=istablet]
    
    RewriteCond %{HTTP_USER_AGENT} iPhone|Mobile [NC]
    RewriteRule .* - [E=Cache-Control:vary=ismobile]
    ### marker MOBILE end ###

    purge all and see how it goes.

    Best regards,

    Thread Starter darrenlow

    (@darrenlow)

    hi,

    i tried the above you mentioned but still same.

    it still load the desktop version of product page in mobile devices.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Could you please enable the advance debug log to your mobile-device IP ?

    then when you use that mobile to access, it will log the user agent , let’s see what it logged.

    and also , when you see page loads in desktop , then modify the URL, attach anything like https://domain.com/product/something?test , does it load mobile version ?

    Best regards,

    Plugin Support LiteSpeed Lisa

    (@lclarke)

    Hi @darrenlow ,

    Do you still need help with this? If so, please provide the previously requested information.

    I’m going to mark this topic “Resolved” for now, but will re-open it if we hear from you again.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cache Issue Woocommerce product pages and categories in Mobile’ is closed to new replies.