Query to import data from one MultiSite table to another (pages/sub-pages)

OK So I worked this out. This query will do the trick of moving the pages: INSERT INTO wp_xxx_posts SELECT * FROM wp_posts WHERE post_parent IN (123,456,789,1011); The xxx relates to the destination MultiSite ID (wp_3_posts for example). The (numbers) in brackets are the parent ID’s (‘post_parent’ in the WP table) of the pages I … Read more

Entry page for a wordpress multisite

You have at least three options: use a Child Theme on mysite.com, in which you replace index.php with whatever you want Use a different Theme entirely on mysite.com – could be a landing-page Theme or whatever. Use your current Theme on mysite.com, but set it to display a static page as front page, put your … Read more

How to configure Multisite Network with randomized hostnames?

After banging my head on this for a few days, I found a solution that works. Just add the following to wp-config.php: if ( isset( $_SERVER[‘HTTP_X_FORWARDED_HOST’] ) ) { $_SERVER[‘HTTP_HOST’] = $_SERVER[‘HTTP_X_FORWARDED_HOST’]; } This will force WordPress to use the requested domain, instead of the proxy domain.