Multisite converted to Single Site can’t add new plugins or new themes

Check your wp-config.php file and remove multisite code. remove code like define(‘WP_ALLOW_MULTISITE’, true); and define(‘MULTISITE’, true); define(‘SUBDOMAIN_INSTALL’, false); define(‘DOMAIN_CURRENT_SITE’, ‘yoursite.com’); define(‘PATH_CURRENT_SITE’, “https://wordpress.stackexchange.com/”); define(‘SITE_ID_CURRENT_SITE’, 1); define(‘BLOG_ID_CURRENT_SITE’, 1); Also, check your .htaccess file and remove those multisite.

Add button to My Sites dashboard page (multisite)?

This is the solution: add_filter( ‘myblogs_blog_actions’, ‘my_sites_visit_site_target_blank’, 10, 2 ); function my_sites_visit_site_target_blank( $actions, $user_blog ) { $to_replace = “>” . __( ‘Visit’ ) . ‘</a>’; $to_replace_with = ” target=”_blank” >” . __( ‘Preview 1’ ) . ‘</a> | <a href=”‘. esc_url( get_home_url( $user_blog->userblog_id ) ).’/customfolder/” target=”_blank”>Preview 2</a>’; return str_replace( $to_replace, $to_replace_with, $actions ); }

One membership area for two websites

I am not sure if you just want to share the same user logins across websites or that you want to set up a third platform for the users? In the first case I recommend looking at the answers here, they may be useful: https://wordpress.org/support/topic/how-to-share-logins-and-users-between-entirely-separate-multiple-wordpress-sites/ Also https://wordpress.org/plugins/ultimate-member/ is well suited for multisite installations. I have … Read more

How to convert multisite subdomain from http to https

I like a simple, all-purpose htaccess to enable https on all site requests: RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] In addition, go into Network Admin, Sites, then Edit each site, then the Settings tab for each site. Change all occurences of http to https for your site. (Some plugins may have the … Read more