Ready to get started?Download WordPress


W3 Total Cache
Problems with WPTouch and rejected cookies? (2 posts)

  1. jshare
    Posted 8 months ago #

    I'm on of W3TC and of WPTouch.

    Sometimes, even when surfing on the desktop, my site shows the mobile version of a page.

    But, because W3TC is configured to not show cached versions to logged in users, when I login, I don't see the mobile versions from the desktop, so it seems clear that this is an issue between the 2 plugins.

    WPTouch uses the wptouch_switch_toggle cookie, which it configures as a rejected cookie in W3TC's pageview settings. But correct me if I'm wrong- if that was working properly, this problem should not be happening.

    I do know that if I clear my cookies in the (desktop) browser, the correct version of the page will appear (the non-mobile one).

    Is this a rejected cookie bug?


  2. tomdkat
    Posted 8 months ago #

    One thing you could try is enabling debugging in W3 Total Cache and view the page or post from a mobile device (or use the mobile view on your desktop system) and look at the generated HTML source and at the bottom, you should see a HTML comment with the W3 Total Cache debug info. This should tell you if the page is being cached or not and whether or not the cookie is being rejected.

    That might provide some clues as to what's going on.



You must log in to post.

About this Plugin

About this Topic


No tags yet.