Title: Multisite subfolders
Last modified: October 7, 2021

---

# Multisite subfolders

 *  Resolved [Castor](https://wordpress.org/support/users/castoruk/)
 * (@castoruk)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/multisite-subfolders-2/)
 * Hi
 * I just need some clarification on the plugin.
 * I’m working on a WPML project which runs subsites in the subdirectory mode. e.
   g. yourdomain.com/subsite-1
 * To visitors the site will look and behave like one website. Therefore, I need
   the cookie banner to only appear whatever site or subsite they visit. But once
   the banner is accepted it does not appear on any other subsite or root site.
 * Is this possible with the free version of the plugin?

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Contributor [Jarno Vos](https://wordpress.org/support/users/jarnovos/)
 * (@jarnovos)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/multisite-subfolders-2/#post-14951257)
 * Hi [@castoruk](https://wordpress.org/support/users/castoruk/),
 * Yes, this is possible. Please install this version of the plugin, which contains
   a slight optimization for this functionality: [https://we.tl/t-uKA00aXrO8](https://we.tl/t-uKA00aXrO8)
 * Upon installing the plugin with the link above, you can place the below [MU Plugin](https://complianz.io/adding-filters-with-mu-plugins-quick-easy/)
   in the folder _/wp-content/mu-plugins/_ to force the consent cookies to the root
   domain. [https://github.com/Really-Simple-Plugins/complianz-integrations/blob/master/force-cookies-on-root.php](https://github.com/Really-Simple-Plugins/complianz-integrations/blob/master/force-cookies-on-root.php)
 * Hope this helps!
    Kind regards, Jarno
 *  Thread Starter [Castor](https://wordpress.org/support/users/castoruk/)
 * (@castoruk)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/multisite-subfolders-2/#post-14966638)
 * Hi [@jarnovos](https://wordpress.org/support/users/jarnovos/)
 * Thanks for replying.
 * I’ve uninstalled the original plugin and manually installed the one you sent 
   me the link for; plus created the MU Plugin.
 * However, it does not seem to work as expected.
 * Accepting the cookie banner on a subsite, then going to the root site the banner
   still pops up, and vice versa. It appears to work correctly when moving between
   the subsite though.
 * Checking the cookies it looks like the MU Plugin is doing its job of setting 
   the path to root (\), so I’m not sure what I’ve done wrong.
 * What should the plugin setup settings be?
 * Should the plugin be network activated, then setup at the root only, or each 
   subsite? Is there a setting I’m missing?
 *  Plugin Contributor [Jarno Vos](https://wordpress.org/support/users/jarnovos/)
 * (@jarnovos)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/multisite-subfolders-2/#post-14970435)
 * Hi [@castoruk](https://wordpress.org/support/users/castoruk/),
 * Sorry to hear that didn’t quite do the trick yet. You shouldn’t need to set other
   settings upon installation of the adapted plugin version & uploading the MU Plugin.
 * I will refer this to the lead developer for further investigation, so I hope 
   to be able to provide you with an update soon.
 * Kind regards,
    Jarno
 *  Plugin Contributor [Jarno Vos](https://wordpress.org/support/users/jarnovos/)
 * (@jarnovos)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/multisite-subfolders-2/#post-14974015)
 * Hi [@castoruk](https://wordpress.org/support/users/castoruk/),
 * Thank you for your patience while we looked into this. We’ve made an adaptation
   and this should now work as expected. Please find the download link here: [https://we.tl/t-j6wpmQacWQ](https://we.tl/t-j6wpmQacWQ)
 * Live example here (access code: 401):
    [https://s-q3rfbnglgz2hl.eu1.wpsandbox.org/subsite/](https://s-q3rfbnglgz2hl.eu1.wpsandbox.org/subsite/)
   <— subsite [https://s-q3rfbnglgz2hl.eu1.wpsandbox.org/](https://s-q3rfbnglgz2hl.eu1.wpsandbox.org/)
   <— main
 * I’m curious to hear about your findings.
    Kind regards, Jarno
    -  This reply was modified 4 years, 7 months ago by [Jarno Vos](https://wordpress.org/support/users/jarnovos/).
 *  Plugin Contributor [Jarno Vos](https://wordpress.org/support/users/jarnovos/)
 * (@jarnovos)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/multisite-subfolders-2/#post-14983305)
 * Hi [@castoruk](https://wordpress.org/support/users/castoruk/),
 * Any updates regarding this?
 * Just let me know if you require any further assistance.
 * Kind regards,
    Jarno
 *  Thread Starter [Castor](https://wordpress.org/support/users/castoruk/)
 * (@castoruk)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/multisite-subfolders-2/#post-14989133)
 * Thanks [@jarnovos](https://wordpress.org/support/users/jarnovos/), that is working
   now.
 * Will this change be merged in with the main version of the plugin at any point
   in the future?
 *  Plugin Contributor [Jarno Vos](https://wordpress.org/support/users/jarnovos/)
 * (@jarnovos)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/multisite-subfolders-2/#post-14991393)
 * Hi [@castoruk](https://wordpress.org/support/users/castoruk/),
 * Thank you for confirming!
 * Yes, this will be merged in the main plugin after our final tests, so you can
   safely update without losing the changes.
 * I’ll mark the thread as resolved for now.
    Kind regards, Jarno

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Multisite subfolders’ is closed to new replies.

 * ![](https://ps.w.org/complianz-gdpr/assets/icon-256x256.png?rev=2881064)
 * [Complianz - GDPR/CCPA Cookie Consent](https://wordpress.org/plugins/complianz-gdpr/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/complianz-gdpr/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/complianz-gdpr/)
 * [Active Topics](https://wordpress.org/support/plugin/complianz-gdpr/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/complianz-gdpr/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/complianz-gdpr/reviews/)

## Tags

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

 * 7 replies
 * 2 participants
 * Last reply from: [Jarno Vos](https://wordpress.org/support/users/jarnovos/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/multisite-subfolders-2/#post-14991393)
 * Status: resolved