WordPress Multisite Dilemma!

Cannot guarantee, but I believe there will be zero SEO impact. The new subdomain site inside Multisite will be an exact clone of the former standalone subdomain. Same theme, plugins, content, canonical URLs. Steps to take: the standalone subdomains cannot reside in the same folder where Multisite will run, e.g., something like /home/user/public_subdomains/ instead of … Read more

How to Force WWW. in Domain With WordPress MU Domain Mapping Plugin?

Answered from this thread. Summary: The .htaccess redirect for www/non-www… # www redirect RewriteCond %{HTTP_HOST} ^subdomain.com RewriteRule ^(.*)$ http://www.subdomain.com/$1 [R=301,L] Put it ABOVE your WordPress rules on domain.com. Should work. Example: RewriteEngine On # DOMAIN #1 – Redirect non-www urls to www RewriteCond %{HTTP_HOST} ^domain1.com RewriteRule ^(.*)$ http://www.domain1.com/$1 [R=301,L] # DOMAIN #2 – Redirect non-www … Read more

How to add a menu that belongs to parent blog to all child-blogs?

Well, thanks to @toscho … For your help I found a way to achieve show the primary nav that belongs to parent blog to all child blogs: /** * Plugin Name: Network Primary Nav * Network: true */ add_filter( ‘wp_nav_menu_objects’, ‘network_primary_nav’, 100, 2 ); function network_primary_nav( $menu_items, $args ) { global $blog_id; $menu_name=”primary”; if ( … Read more

How to edit wp-signup.php content using plugin

you can try these hooks: // // remove label label[for=signupuser] and #signupuser on wp-signup.php with CSS // add_action(‘signup_header’,’my_signup’); function my_signup() { echo “<style>label[for=signupuser],#signupuser{display:none !important;}</style>”; } // // edit text displayed on wp-signup.php // add_filter( ‘gettext’, ‘my_change_text’, 20 ,3); function my_change_text( $translated_text, $text, $domain ) { if ( $domain ==”your_site_name”) { // EDIT if( trim($translated_text)==”Get your … Read more

Completely remove ability to create users?

Okay, so the code above does work, but not for super admins, you must explicitly remove permissions from super admins, like this: // restrict super admin capabilites add_filter(‘map_meta_cap’, ‘restrict_super_admins’, 10, 4); function restrict_super_admins($caps, $cap, $user_id, $args){ $super = array( ‘add_users’, ‘create_users’, ); if( in_array($cap, $super) ) { $caps[] = ‘do_not_allow’; } return $caps; }