Title: [Plugin: WP Super Cache] MULTISITE instead VHOS in wp-cache-config.php
Last modified: August 19, 2016

---

# [Plugin: WP Super Cache] MULTISITE instead VHOS in wp-cache-config.php

 *  [msrecko](https://wordpress.org/support/users/msrecko/)
 * (@msrecko)
 * [15 years ago](https://wordpress.org/support/topic/plugin-wp-super-cache-multisite-instead-vhos-in-wp-cache-configphp/)
 * Hi Donncha,
    is time to change VHOST with MULTISITE in wp-cache-config.php, because
   VHOST from WP 3.0 is not in use, when you have mulstisite installation.
 * So, I believe that right code in wp-cache-config.php will be:
 * // We want to be able to identify each blog in a WordPress MU install
    $blogcacheid
   = ”; if( defined( ‘MULTISITE’ ) ) { $blogcacheid = ‘blog’; // main blog if( constant(‘
   MULTISITE’ ) == true ) {
 * After this change I have in cache directory, beside supercache dir, also blogs
   dir (with subdirs).
 * Best regards,
    Srecko
 * [http://wordpress.org/extend/plugins/wp-super-cache/](http://wordpress.org/extend/plugins/wp-super-cache/)

Viewing 1 replies (of 1 total)

 *  [Ron Rennick](https://wordpress.org/support/users/wpmuguru/)
 * (@wpmuguru)
 * [15 years ago](https://wordpress.org/support/topic/plugin-wp-super-cache-multisite-instead-vhos-in-wp-cache-configphp/#post-2076622)
 * The MULTISITE constant is not defined in WordPress MU installs upgraded to WordPress
   3.0 (or 3.1). You should be using `is_multisite()` which checks for both WP 3.0
   networks and upgrade MU installs.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: WP Super Cache] MULTISITE instead VHOS in wp-cache-config.php’
is closed to new replies.

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

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Ron Rennick](https://wordpress.org/support/users/wpmuguru/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/plugin-wp-super-cache-multisite-instead-vhos-in-wp-cache-configphp/#post-2076622)
 * Status: not resolved