Title: Multisite
Last modified: August 9, 2022

---

# Multisite

 *  Resolved [joestubbs](https://wordpress.org/support/users/joestubbs/)
 * (@joestubbs)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/multisite-660/)
 * Hi there,
 * Do you know if the plugin is compatible in multisite?
 * Currently I am getting a 400 error on admin_ajax when trying to use the age gate.
   If I manually remove the age gate in the front end other Ajax requests seem to
   work ok so just wondered if you’d had any other multisite queries?
 * Thanks!

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

 *  Plugin Author [Phil](https://wordpress.org/support/users/philsbury/)
 * (@philsbury)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/multisite-660/#post-15901680)
 * Hi [@joestubbs](https://wordpress.org/support/users/joestubbs/),
 * I’ve not seen that before… is is a multisite in subdirectories (rather than subdomains)
   as that’s the only thing I can think of that might cause it.
 * I’d try switching from the AJAX requests to an API request (Age Gate -> Advanced-
   > REST API) as it generally seems a little more stable.
 * Otherwise, feel free to post a link and I can have a look at what’s being set
 * Thanks
    Phil
 *  Thread Starter [joestubbs](https://wordpress.org/support/users/joestubbs/)
 * (@joestubbs)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/multisite-660/#post-15901693)
 * Thank you so much for the quick response.
 * Switching actually works so thanks for that – whats the main difference there
   for the front end user?
 * The multisite is in [http://www.example.com/fr](http://www.example.com/fr) for
   instance so that might be the issue but it even happens on the base domain…. 
   MS has some funky URL re-writing going on though doesnt it?
 * Thanks so much again!
 *  Plugin Author [Phil](https://wordpress.org/support/users/philsbury/)
 * (@philsbury)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/multisite-660/#post-15901708)
 * No problem!
 * Yeah, I suspect is was getting the wrong url, probably the “base” one, or just
   generally getting confused! MS is a bit of a minefield at times.
 * No real difference for the end user. The “normal” ajax was the original version
   I wrote, added the API one a bit later as someone was having issues with the 
   ajax version. Basically just goes to a different place.
 * Ta
    Phil
 *  Thread Starter [joestubbs](https://wordpress.org/support/users/joestubbs/)
 * (@joestubbs)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/multisite-660/#post-15901737)
 * MS is certainly a minefield ha.
 * Thank you for the explanation and your help.
 * It’s a great plugin so thank you very much Phil!
 * Joe

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

The topic ‘Multisite’ is closed to new replies.

 * ![](https://ps.w.org/age-gate/assets/icon-256x256.png?rev=2783003)
 * [Age Gate](https://wordpress.org/plugins/age-gate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/age-gate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/age-gate/)
 * [Active Topics](https://wordpress.org/support/plugin/age-gate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/age-gate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/age-gate/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [joestubbs](https://wordpress.org/support/users/joestubbs/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/multisite-660/#post-15901737)
 * Status: resolved