Title: Multi-domain multi-template setup
Last modified: August 30, 2016

---

# Multi-domain multi-template setup

 *  [Wace](https://wordpress.org/support/users/wace/)
 * (@wace)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/multi-domain-multi-template-setup/)
 * Hello,
 * Here’s the tricky stuff.
 * I use two sites (www.site.com and m.site.com) to serve desktop and mobile versions
   of the content. www-site is original and uses W3 Total Cache successfully. m-
   site, however, is just another directory on the webserver with most of the stuff
   symlinked from the original space. The only change is that there’s plugin that
   detects constant set in m-site config and changes theme on the fly for it, using
   _add\_filter(‘template’,’foo’)_ routine, otherwise sites share content, options
   and plugins.
 * Everything works as it should, including many plugins, but W3 Total Cache doesn’t
   cache the m-site at all.
 * I have object, minify and page caches enabled. “cache only website url” flag 
   is set to off.
 * Thank you for any ideas,
    Max
 * [https://wordpress.org/plugins/w3-total-cache/](https://wordpress.org/plugins/w3-total-cache/)

The topic ‘Multi-domain multi-template setup’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

## Tags

 * [W3TC](https://wordpress.org/support/topic-tag/w3tc/)

 * 0 replies
 * 1 participant
 * Last reply from: [Wace](https://wordpress.org/support/users/wace/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/multi-domain-multi-template-setup/)
 * Status: not resolved