WordPress.org

Ready to get started?Download WordPress

Forums

WPtouch Mobile Plugin
[resolved] WPTouch will sometimes show mobile theme on desktop (5 posts)

  1. jshare
    Member
    Posted 1 year ago #

    I'm using WPTouch 1.9.7.1, and the latest W3TC.

    Sometimes, even when visiting my site with Firefox or IE10, some of my blog posts will be displayed with the mobile theme even though I'm on the desktop.

    If I disable WPTouch, the mobile theme is still used for those articles which lead me to think that this might be a caching issue, an incompatibility with W3TC, but the rest of the time everything works fine.

    Any ideas how to prevent this from happening? Disabling W3TC isn't an option.

    Thanks!

    http://wordpress.org/plugins/wptouch/

  2. jshare
    Member
    Posted 1 year ago #

    Although I still don't know why this only happens for some article, I do know that disabling WPTouch and clearing W3TC's caches doesn't remedy the problem. For that, you need the wptouch_switch_toggle cookie to be deleted on the user side (good luck). So now I'm starting to think this is a problem more on the W3TC side because there, the wptouch_switch_toggle cookie is configured to be rejected by W3TC i.e. any page with that cookie shouldn't be cached.

  3. BraveNewCode Inc.
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    Please add the list of user agents below to the 'rejected user agents' area in the Page Cache, Minify and CDN settings in W3TC, clear the cache and expired files and see if that helps resolve the issue.

    AdsBot-Google
    Android
    BB10
    BlackBerry 9350
    BlackBerry 9360
    BlackBerry 9370
    BlackBerry 9380
    BlackBerry 9780
    BlackBerry 9790
    BlackBerry 9800
    BlackBerry 9810
    BlackBerry 9850
    BlackBerry 9860
    BlackBerry 9900
    BlackBerry 9930
    BlackBerry9500
    BlackBerry9520
    BlackBerry9530
    BlackBerry9550
    CUPCAKE
    Googlebot-Mobile
    bada
    dream
    froyo
    iPhone
    iPod
    incognito
    s8000
    webOS
    webmate
  4. KaraLeah
    Member
    Posted 1 year ago #

    I just used that fix, and it worked for me. I was getting the mobile version of my website in Firefox.

    Thank you.

  5. jshare
    Member
    Posted 1 year ago #

    Seems to work for me too, thank you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags