Multisite, can’t see sub blogs
The 404 is coming from your http server and not making it to WP. htaccess is not configured on your server.
The 404 is coming from your http server and not making it to WP. htaccess is not configured on your server.
domain_exists() is something you probably won´t call by yourself. It is used in the registration/creation process of new sites in a Multisite installation. There it´s used to check if a specific blog URL is already in use: if ( domain_exists($mydomain, $path, $current_site->id) ) $errors->add( ‘blogname’, __( ‘Sorry, that site already exists!’ ) ); (From /wp-includes/ms-functions.php, … Read more
If you place the CPT and fields code in a theme, each site in the network would be required to use that theme for the post type and custom fields to be available. If, however, you place that code in a plugin and network activate the plugin, every site in your network can use a … Read more
If you’re using multisite, you can upload a theme as the super admin and force enable it across the network. However, from what I’ve read in your question, it appears like you are trying to share contents across the network, not just the theme. This can be somehow tricky. In such scenarios, you can use … Read more
You would want to use wpmu_delete_user: $userid = get_current_user_id(); wpmu_delete_user( $userid ); Deletes a user from the network and removes it from all sites. https://codex.wordpress.org/Function_Reference/wpmu_delete_user
Use a WordPress Network. This is one installation with unlimited numbers of blogs, all controlled, to a point, by the central dashboard. See Create A Network – WordPress Codex
This seems like a broken .htaccess-file. I too have removed /blog/ as the permalink path, but it had/should have no major impact on the use of the site. The error-log is correct, as WordPress by default opens mydomain.com/about/, and then places the page-content in the style of the theme. I would say there are two … Read more
I ran into the same problem. It’s easily solved by going into the Network Admin > Settings page. Look for the label “Add New Users” and make sure this option is checked: Allow site administrators to add new users to their site via the “Users → Add New” page. Once you do this, the local … Read more
For setting up a network of sites on different domains use: http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/ Otto has a great tutorial on the subject: http://ottopress.com/2010/wordpress-3-0-multisite-domain-mapping-tutorial/ Andrea’s ebook and Otto’s tut helped me a lot with my first setup!
you can use wp_logout_url( $redirect); as Pippin sugested if you are echoing out the logout link and if you need it for the built-in logout link on the backend you can use: //function to redirect after logout function logout_redirect765(){ wp_redirect( home_url() ); exit; } //hook function to wp_logout action add_action(‘wp_logout’,’logout_redirect765′);