Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multisite #34

Closed
PatchworkBoy opened this issue Oct 12, 2018 · 3 comments
Closed

Multisite #34

PatchworkBoy opened this issue Oct 12, 2018 · 3 comments

Comments

@PatchworkBoy
Copy link

PatchworkBoy commented Oct 12, 2018

Hi there - after some clarity regarding setup for Multisite.

We're a school, deploying multisite for departmental websites (eg: Maths dept has their own sub-site, English dept has their own sub-site etc). Each sub-site is using folder redirection rather than subdomain... so Maths site would be at https://blogs.domain.com/maths/ & English site at https://blogs.domain.com/english/

I've got the (premium version of the) plugin installed in the Network dashboard and fully configured in 'Intranet' mode so theoretically all users should auth immediately, however, this only happens when they visit the root blog of the multisite (https://blogs.domain.com/). If users navigate to a sub-site they can view that site without authentication. Documentation seems to be lacking on correct procedure to configure the plugin for Multisite use... I haven't network-activated the plugin - should I?

Ideally I was wanting it setup in 'Internet' mode with some way of enforcing o365 login for viewing of specific pages or categories within each sub-site, but suspect this may be beyond the scope of this plugin (?)

@wpo365
Copy link
Owner

wpo365 commented Oct 15, 2018

Hi @PatchworkBoy and sorry for the delay in answering your issue, but I needed to revisit my network testing setup. Also, since your purchased the premium version, I suggest we start a direct email thread. You can send me your details through the contact form on the website https://www.wpo365.com/contact/ ...

However, having said all of that, I have tested WordPress MU with a subdomain configuration and this seems to work fine. However, you need to network activate the plugin, or else the plugin won't be activated for a subsite and if the plugin is not activated it will not intercept and inspect all requests.

You are right that the documentation is not too clear about the configuration. Basically there are two important configurations that are different as opposed from a single site setup, namely

  1. (Must) Network Activate the plugin
  2. (Recommended) Use the wp-config.php capability (see https://www.wpo365.com/configuration-wordpress-office-365-login-plugin-without-redux-premium/) to avoid subsite administrators from changing the WPO365 Options. Even though these options are ignored for subsites, it's alltogether a confusing experience and it can be easily avoided by configuring without Redux.

Please let me know if you were able to resolve your issues.

Ps, as to your last remark I have to confirm your suspicion. The plugin is not layed out to only secure a few pages but rather can be configured to either secure front- and back end (= wp-admin) or the back end only. Depending on the structure of your website, you could, however, get really creative with the Page Blacklist configuration setting, which would allow you to exclude "directories" as well.

@wpo365
Copy link
Owner

wpo365 commented Oct 21, 2018

Hi @PatchworkBoy Did the problem go away and can I close the issue?

@wpo365
Copy link
Owner

wpo365 commented Dec 5, 2018

Closing issue since no reply was received.

@wpo365 wpo365 closed this as completed Dec 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants