How to set up wp multisite?

If you have your network sites allowed to install in subdomain like abc.hgd.com then you need to setup the Wild card DNS setting. I think that could be creating the problem for you and redirecting you to the 404 error page. Can you please let me know thw steps you followed to setup your multisite … Read more

Different page content for default pages on WordPress Multisite

Make your $default_pages array being associated array, where a key is page title and a value is page content. Then modify your foreach loop to fetch $key => $value pairs and use it for the wp_insert_post function. Like this: function default_pages( $blog_id ) { $default_pages = array( ‘Contact’ => “This is your ‘Contact’ page. Enter … Read more

WPMU site in subdirectory: When I clone a site with NS Cloner Pro plugin, how do I remove the subdirectory from the URL?

Here is the answer that I provided through official support and the ultimate confirmed solution was to move the installation to the domain root and eliminate /new/ altogether; full explanation: Thanks for your question. Hopefully I understand your scenario correctly. Have you previously been creating subsites the normal way? What do their paths look like? … Read more

Default sub-pages on WordPress Multisite

wp_insert_post() returns a post ID for the fresh post. You can use that ID to set a parent post. Example $about_id = wp_insert_post( array ( ‘post_title’ => ‘About’, ‘post_status’ => ‘publish’, ‘post_type’ => ‘page’, ) ); wp_insert_post( array ( ‘post_title’ => ‘Information’, ‘post_status’ => ‘publish’, ‘post_type’ => ‘page’, ‘post_parent’ => $about_id, ) ); In your … Read more

How to link two news page multilingual press

I am the author of Multilingual Press. Currently, there is no user interface to connect existing posts. This will be possible in one of the next versions. You can either connect both in the table $wpdb->base_prefix . ‘multilingual_linked’ or create a new post as the translation for the other.