The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

W3 Total Cache
[resolved] cdn function not working with multi-site (10 posts)

  1. datapharmer
    Posted 5 years ago #

    Using the latest release of w3tc the cdn function is ignored on child sites on a multi-site deployment. The main site works fine, but when a cdn is added to the plugin on another sub-site it is completely ignored. I am using the subdirectory setup and the WordPress MU Domain Mapping plugin. Any suggestions on how to resolve this issue would be greatly appreciated.

  2. jozwikjp
    Posted 5 years ago #

    Have you tried using it in the mu-plugins folders or network activating?
    Which version of WP are you using?

  3. datapharmer
    Posted 5 years ago #

    If you try network activating it tells you it cannot be activated network wide. I am using wordpress 3.0.1. I have not tried the mu-plugins folder, but not sure why I would need to. I will look into that as a possibility though.

  4. richardxthripp
    Posted 5 years ago #

    I am also experiencing this problem, but I am using W3 Total Cache on WPMU 2.7 in a subdomain blog using WP Subdomains to create virtual subdomains for pages on my subdomain blog in the root namespace alongside the WPMU subdomains. I hacked the core to accomplish this -- wpmu-settings.php to be specific. However, I would still like W3 Total Cache to work on these subdomains:


    As you can see from looking at the HTML source, the W3 Total Cache HTML comment is being inserted at the end but it isn't optimizing the page at all. Compare to the source code of my home page, richardxthripp.thripp.com, which is minified, gzipped, and fully cached.

  5. Ovidiu
    Posted 5 years ago #

    there are a couple of threads around where the plugin authro says its not fully implemented - meaning multisite functionality.

    a couple of other users have found a workaround by deleting the object.cache file...

    check the other thread for this plugin too!

  6. slobstar
    Posted 5 years ago #

    Any links to those threads?

    I have a WP 3.0.1 network installation, the plugin works perfectly on the main site but not on the sub sites.

    Also, if I try to disable CDN or Object Cache in the admin the "Deselect this option to disable all caching functionality." checkbox will also be disabled, if I enable it it will also enable the disabled checkbox, for example the CDN.

    Any clues how I can get this to work on my sub sites?

  7. richardxthripp
    Posted 5 years ago #

    Seconded, I also want to know how to cache subdomains, external domains, and subdomains implemented through unorthodox means.

  8. slobstar
    Posted 5 years ago #

    Sorry, I totally misinterpreted the "Deselect this option to disable all caching functionality." checkbox...

  9. Ovidiu
    Posted 5 years ago #

  10. slobstar
    Posted 5 years ago #

    I used this suggested solution, it works perfectly with Amazon CDN and everything.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • W3 Total Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic