Hot answers tagged

2

1) Install & network activate User Role Editor plugin from http://example.com/wp-admin/network/plugins.php 2) Then go to Settings > User Role Editor menu on network and make sure you have the settings as shown in following screenshot. 3) Go to "User Role Editor" settings page on your main site ...


1

You can always read through the documentation that WordPress.org has put together on Creating A Network. The point below was taken from Step 1: "Also deactivate all active plugins. You can reactivate them again after the network is created." After the network is created I recommend activating your Plugins one by one and testing your site each time ...


1

Obviously there are steps. And you have to choose whether you want to go with subdomain or subfolder (and under certain condition you can overwrite your own choice upon the default). I found a nice step-by-step guide to WordPress Multisite Helpful is: The Complete Guide To Creating A WordPress Multisite Installation by Kevin Muldoon It has a good tail ...


1

There is no built-in way to do it. The .htaccess is "printed in the screen" of the wp-admin ones you are setting up the multisite (the same for wp-config.php). That info is never write directly in .htaccess file like the single site. The wordpress core code for multisite / htaccess is here: ...


1

get_transient / set_transient example: function my_get_user_count() { $usercount = get_transient('usercount'); if (!$usercount) { $usercount = count_users(); set_transient('usercount',$usercount,600); // ten mins } return $usercount; }


1

I was using WordPress Multisite for multiple TLDs. Example: domain.com another-domain.org sample-domain.net The primary site was domain.com which was a valid registered domain name with proper DNS resolution. another-domain.org and sample-domain.net had both expired domain name registrations. A/K/A - The DNS wasn't resolving properly. If you've got ...


1

There is nothing in the core or in the rest API for this requirement. You can try this plugin, https://github.com/remkade/multisite-json-api Sorry, but I see no other chance and no more to say in this answer.



Only top voted, non community-wiki answers of a minimum length are eligible