• If you are using a caching plugin, you will need to configure it to work properly with WPtouch. If your caching plugin is not configured, or not configured properly, you will most encounter inconsistent behaviour where WPtouch shows for desktop visitors, or mobile visitors see your desktop site.

    W3 Total Cache

    1. If you have “Browser Cache” enabled, please disable ‘Set expires header’ in the Browser cache settings to prevent Desktop/Mobile switch link issues.
    2. Go to the “Page Cache” settings under the Performance tab.
    3. Copy the list of mobile user agents found in our list of “User agent list for configuring cache plugins“.
    4. If you have added support for additional mobile devices in WPtouch’s Compatibility > Custom User Agents field, you must also include those user agents in the “Rejected User 5. Agents” area in W3 Total Cache.
    5. Scroll down to the “Rejected User Agents” field and paste the list of WPtouch default user agents, adding one per line.
    6. Save your changes.
    7. Go to the “Minify” settings under the Performance tab.
    8. Scroll down to the “Rejected User Agents” field and paste the list of WPtouch default user agents, adding one per line.
    9. Save your changes.
    10. Go to the “CDN” settings under the Performance tab.
    11. Scroll down to the “Rejected User Agents” field and paste the list of WPtouch default user agents, adding one per line.
    12. Save your changes.
    13. Finally, go to the W3 Total Cache “Dashboard” and select “Empty All Caches”.

    Ensure that W3 Total Cache is selected in the plugins list in the Compatibility section of the WPtouch admin panel.

    WP Super Cache

    Note: The native support for the free version of WPtouch found in WP Super Cache (under the “Plugins” tab) must be disabled to prevent conflicts in WPtouch.

    1. In the Advanced tab of the WP Super Cache settings select “Mobile Device Support”* and click “Update Status”.
    2. Still in the Advanced tab, scroll down to the “Rejected User Agents” area. Paste the entire list of mobile user agents found in our list of “User agent list for configuring cache plugins” into the field and click “Save UA Strings”.
    3. If you have added support for additional mobile devices in WPtouch’s Compatibility > Custom User Agents field, you must also include those user agents in the “Rejected User Agents” area in WP Super Cache.
    4. In the “Contents” tab, click “Delete Cache” and “Delete Expired” to delete pages that were likely cached before adding the new list of rejected user agents.
    5. Ensure that WP Super Cache is selected in the plugins list in the Compatibility section of the WPtouch admin panel.

    WP Rocket

    In the “Basic Options” of WP Rocket’s settings page, make sure “Enable caching for mobile devices.” is deselected. Ensure that WP Rocket is selected in the plugins list in the Compatibility section of the WPtouch admin panel.

    Please see the user manual for additional information.

    WP Engine

    Please contact WPEngine and ask them to exclude the user agents found in the “User agent list for configuring cache plugins“.

    https://www.ads-software.com/plugins/wptouch/

Viewing 5 replies - 16 through 20 (of 20 total)
  • Hallo, after many updates I still have the same problem: WPtouch is properly configured and enables, but it does not show up on mobile. I still have Wordfence. What can I do?

    Thanks,

    A

    Hello simpsonhf,

    As I tried to explain in my two posts just before your’s, the problem is that the list of User Agents given at the top of this thread DOES NOT match the list of User Agents used in the actual WPTouch plugin as defined in
    wptouch/core/mobile-user-agents.php

    For example, for Android devices the code is:

    if ( $settings->enable_android_phone ) {
    $wptouch_smartphone_list[] = array( ‘Android’, ‘Mobile’ );

    The really important thing here is that an Android device is defined as a mobile device if it is an Android AND a mobile, whereas the list at the top of this thread just says Android, ie ANY Android device.

    So, if a non-mobile Android first lands on a page, WPTouch recognises it as a non-mobile device, as so serves up a desktop theme, then your caching plugin, using the list at the top of this thread sees the device as an Android, ie a mobile device, so the caching plugin will cache a desktop theme as a mobile!

    The list User agents for configuring cache plugins given at the top of this thread is, I believe, WRONG. The definitions of what are mobiles are too broad.

    I am really disappointed that my previous comments were never answered!

    i’m using zen cache and people are suddenly seeing the mobile site on desktop browsers. how can i fix this?

    i notice when i’m logged in, i see the desktop site, but when i log out and refresh, the browser displays the mobile version.

    thanks….

    Is there a way to have WPTouch recognize android tablets as mobile devices?

    After updating my WPTouch plugin for https://www.FrequencyMartialArts.com, my MAIN navigation on the site going left to right should end with VIDEOS. After doing the WPTouch update, those menu options for my mobile menu (Benefits, Adult, Kids, DDP YOGA, Contact, Schedule and Testimonials) now appear to the right of my MAIN Navigation options on my desktop.

    The WPTouch Menu location options only have the mobile site selected and the other 2 location options are left blank.

    I am not using a 3rd party caching plugin.

    My wordpress site is hosted by godaddy.

    Thanks in advance for helping with this issue.

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘Seeing mobile theme on desktop/desktop theme on mobile?’ is closed to new replies.