If you are using the W3 Total Cache plugin and Mobile Smart or Mobile Smart Pro, you will need to do the following to ensure the mobile site is served up instead of the cached desktop site:

  • Go to W3TC’s Performance -> User Agents Group settings page.
  • Enable ‘Pass Through’ for mobile user agents (devices).

Alternatively you can try this information from WPTouch which works in a similar way with theme switching:

  1. If “Browser Cache” enabled, 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 the list of user agents found below.
  4. Scroll down to the “Rejected User Agents” field and paste the list of default user agents, adding one per line.
  5. Save your changes.
  6. Go to the “Minify” settings under the Performance tab.
  7. Scroll down to the “Rejected User Agents” field and paste the list of default user agents, adding one per line.
  8. Save your changes.
  9. Go to the “CDN” settings under the Performance tab.
  10. Scroll down to the “Rejected User Agents” field and paste the list of default user agents, adding one per line.
  11. Save your changes.
  12. Finally, go to the W3 Total Cache “Dashboard” and select “Empty All Caches”.
  13. Ensure that W3 Total Cache is selected in the plugins list in the Settings > Site Compatibility > Active Plugins section of the WPtouch Pro admin panel. (Pro only, enabled by default in WPtouch (free))


MSIE 10.0
Nexus 7
Tagged with:

One Response to Working with W3 Total Cache and Mobile Smart

  1. Logesh Kumar says:

    Great! I was searching for this setting for a long time. I am already a PRO user of your plugin. Thank you.

Leave a Reply

Your email address will not be published. Required fields are marked *

Mobile Smart Pro

So much more:
  • Domain switching: redirect users to m.yoursite.com or switch theme when user arrives at m.yoursite.com (requires you to change some DNS settings)
  • Mobile Pages: mobile-specific content on the same edit screen as your main content
  • Mobile Menus: set up mobile-specific menus for simpler navigation
  • Mobile Plugins: disable selected plugins on a mobile site for speed and reduced functionality
  • Mobile Widgets: control which widgets are shown on your mobile site
  • Mobile Shortcodes: display content selectively for mobile, tablet, and desktop
Find out more »

Developer tools

Making life easier for mobile site developers:
  • Template functions: to help determine which tier of mobile device (touch/smartphone/other) is viewing your site, to allow conditional content inclusion.
  • CSS Selection: Adds device and tier specific CSS selectors to the body_class, to allow conditional CSS (e.g. so in the same way you have “.single” that you can target “.iphone” or “.mobile-tier-touch”.)
  • Boilerplate mobile theme: barebones theme to enable developers to create their own theme.


  • Switch themes: Switch your theme to a mobile-ready theme if a mobile device is detected (all major devices supported)
  • Tablet or not: Choose whether to switch theme when viewing site with an iPad, Nexus 7 and other tablets.
  • "View full version of this site": allow your user to manually switch between desktop and mobile versions. Available in 3 versions: widget, option to automatically insert into footer, or template tag.
  • Simple image transcoding
Set your Twitter account name in your settings to use the TwitterBar Section.