How can I map the primary domain for subsite as subdirectory for another domain?

If you’re trying to achieve: installdomain.com sub.installdomain.com sub.installdomain.com/sub2 OR installdomain.com installdomain.com/sub/ installdomain.com/sub/sub2 You’re describing a Network of Networks. InstallDomain is a network (aka multisite), and has a site named Sub. The site Sub is also a network. The Sub network has a site named Sub2. There are a lot of things to take into consideration, … Read more

Allow editors to switch sites (Multisite)

Although question is not quite clear to me, because: ==case 1== if you have multisite WP, then users are shared with same username/password/etc). Just you should set the roles individually per sub-site. But if there are many users and you want to automatize the process, you can use: https://wordpress.org/plugins/multisite-user-sync/ https://wordpress.org/plugins/multisite-user-role-sync/ or some similar alternatives update: … Read more

Multisite adjust uploads like (/upload/%alphanumeric_id%/%file_type%/%blog_ID%)

Ok this is my solution for now – but how do I add the generated alphanumeric_id as add_post_meta($post_id, ‘alphanumeric_id’, $randomString); to the related attachment? /*===================================================================================*/ /* function change the upload for multi-lang /*==================================================================================*/ function bZive_handle_upload_prefilter( $file ) { add_filter(‘upload_dir’, ‘bZive_custom_upload_dir’); return $file; } function bZive_handle_upload( $fileinfo ){ remove_filter(‘upload_dir’, ‘bZive_custom_upload_dir’); return $fileinfo; } /** * Force … Read more

How to make multi site with single Database?

First off please note that although you plan to use different themes and plugins, your core content is identical, so search engines can and will figure out that all of these sites contain the same content. So if you proceed, just know that you won’t be bringing in much if any organic traffic. Perhaps there … Read more

Multisite configuration for multiple domains

WordPress supports Domain Mapping. WordPress multisite subsites may be mapped to a non-network top-level domain. This means a site created as subsite1.networkdomain.com, can be mapped to show as domain.com. This also works for subdirectory sites, so networkdomain.com/subsite1 can also appear at domain.com. Before setting up domain mapping, make sure your network has been correctly set … Read more