• Resolved joestubbs

    (@joestubbs)


    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

    (@philsbury)

    Hi @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

    (@joestubbs)

    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 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

    (@philsbury)

    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

    (@joestubbs)

    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.