WordPress Multisite: Login to all subsites at once
WordPress Multisite: Login to all subsites at once
WordPress Multisite: Login to all subsites at once
Looks like there is a missing rule in your htaccess file, try RewriteEngine On RewriteBase / RewriteRule ^index.php$ – [L] # ensure access to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] RewriteCond %{HTTPS} off RewriteCond %{REQUEST_URI} !^/wp-json/ RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^ – [L] #ensure you can access the network … Read more
Nikolay Can’t comment on my own question, so I guess that giving a loose answer is the best and only way to get back to you. How I’m getting the roles: $user = get_user_by(‘login’, ‘newuser’); $user_meta = get_userdata($user->ID); $user_roles = $user_meta->roles; I do not use any plugin. Fresh WP multisite. I also tried a small … Read more
What could cause wpmu_create_blog to throw “Already Installed” Error on multisite?
Yes, you can set up multiple installs. You do need to be careful that you don’t ever create anything in the “parent” multisite (at example.com) that has the same slug as the folder you place the “child” multisite (at example.com/bananas) – so in the bananas example, never create a Post, Page, Category, Tag, etc. with … Read more
Category as Subdomain for One WP Install
I solved it with mmm’s hint and created a simple custom REST endpoint. WP1 (Frontend, sending the data): function send_form_data_to_backend($form_values) { // add secret-key $form_values[‘secret_key’] = “abcde123″; $url=”http://backend.example.com/wp-json/example/v1/save/”; $response = wp_safe_remote_post( $url, array( ‘method’ => ‘POST’, ‘timeout’ => 15, ‘redirection’ => 5, ‘blocking’ => true, ‘headers’ => array(), ‘body’ => $form_values, ‘cookies’ => array() ) … Read more
Additional things to check: Email usage – if using cPanel, you can check this via Disk Usage; Cron-jobs – you can see these in cPanel. However, you can also search in phpMyAdmin for DB cron-jobs; Check traffic spikes/time-of-day in Google Analytics.
Multisite,half the way
Remove multisite part from wordpress multisite upload directory