WordPress Multisite, NGINX and WordPress Subdirectory Install

You might check in General Settings: Home URL should be http://example.com Site URL should be http://example.com/wp When you open http://example.com, what URL does it show for …/twentythirteen/style.css? Do you see the “broken” URL http://example.com/wp/test-network-site/wp-content/themes/twentythirteen/style.css in the source? If so, it suggests WordPress might be using a wrong path (not necessarily nginx). I think that should … Read more

Get posts from Network (Multisite)

I created a plugin which does something similar (called Multisite Post Display https://wordpress.org/plugins/multisite-post-reader/ ) . It displays posts from all multisite sub-sites. The code in there might be helpful for what you are doing. You are welcome to dig into it and use the code to help with your project. (After all, I used other … Read more

wordpress multisite, how to keep user on subdomain throughout registration process?

What @petermolnar suggested also redirects your users to the main site if they want to register (I’ve tested this but feel free to make use of it. It’s good practice). What you need is a registration/login/edit-profile plugin for the front end: http://www.cozmoslabs.com/1341-wordpress-profile-builder-a-front-end-user-registration-login-and-edit-profile-plugin/ It’s shortcode based so all you have to do is redirect your users … Read more

Domain mapping (without plugin) in 4.5.x multisite?

Here’s an example of a solution I configured, which leaves the site in the network, but establishes a domain map from any registered domain, to the network. It makes the network site appear to be a completely independent site, with all the functionality (log-in, etc.) intact. Goal: Map client’s registered domain, both www.foosite.com and foosite.com … Read more

WordPress Multisite allow site admin to add user without email confirmation

You will not be able to enable the checkbox for non-super-admins as the code for it shows: <?php if ( is_multisite() && is_super_admin() ) { ?> <tr> <th scope=”row”><label for=”noconfirmation”><?php _e(‘Skip Confirmation Email’) ?></label></th> <td><label for=”noconfirmation”><input type=”checkbox” name=”noconfirmation” id=”noconfirmation” value=”1″ <?php checked( $new_user_ignore_pass ); ?> /> <?php _e( ‘Add the user without sending them a … Read more