• Resolved annikagee

    (@annikagee)


    Hi there,

    I cannot find a guide for setting up multisite with different domain names: We had our WPO365 Login configured and working well with our multisite setup but stopped working now that one of the sites have gone live and has a different domain name (root). I’m getting the error

    [2022-10-27 08:16:30] Wpo\Core\Url_Helpers::goto_after -> AAD redirect URL (host -> blacktrace.wpengine.com) and WordPress Site URL (host -> www-test-wp.particle-works.com) belong to different hosts and the COOKIE_DOMAIN constant has not been defined. The user will be redirected to the default WordPress login form instead to prevent an infinite loop.

    What do we do to configure our scenario as follows:

    We have all our users in one Azure SSO tenant (@blacktrace.com, also our main site)?.
    We use WP multisite, websites have different root URLs e.g.?www.blacktrace.com,?www.particle-works.com?, www-test.particle-works.com,…

    Really don’t quite now understand if we should we use dedicated or shared? Which site goes in the COOKIE_DOMAIN?

    Should i have a different WPO365 Login installation for each of these subsites (with different domain names) with different Base URLs?

    Many thanks for any tips and help!!
    annika

    • This topic was modified 2 years, 1 month ago by annikagee.
Viewing 1 replies (of 1 total)
  • Plugin Author Marco van Wieren

    (@wpo365)

    Hi @annikagee

    Since you have also contacted us via the regular support channels, we won’t be continuing the support thread here.

    However, for anyone who stumbles upon this thread a few clarifications:

    1. To configure WordPress Multisite support for WPO365 I recommend that you look at this support article.

    2. In this specific case @annikagee has configured domain mappings for subsites. In such cases it is needed to switch to WPO365’s “dedicated” WPMU support mode.

    3. In this case it is possible to re-use an existing App registration in case of OpenID Connect based Single Sign-on. However, in case of SAML 2.0 based SSO you must create a unique enterprise application for each subsite that resides in a unique domain.

    Hope this helps!

    – Marco

Viewing 1 replies (of 1 total)
  • The topic ‘WP multi-site with websites of different root’ is closed to new replies.