This is my first time playing with WPMU, I'm trying to move an entire WPMU site into a subdomain of itself for a development environment. The site itself is using subdomains so I'm having a bit of trouble getting it working. Has anyone had this task/problem before?
I need to move http://example.com
to http://dev.example.com
.
I have moved all the files into a subfolder and configured it via the server, moved the database into a separate one, updated the home & siteurl in the wp_options
table and my wp_config.php
is as follows:
define( 'WP_ALLOW_MULTISITE', true );
define( 'MULTISITE', true );
define( 'SUBDOMAIN_INSTALL', true );
define( 'NOBLOGREDIRECT', 'http://dev.example.com/' ); // added by me in dev only
$base = '/';
define( 'DOMAIN_CURRENT_SITE', 'dev.example.com' );
define( 'PATH_CURRENT_SITE', '/' );
define( 'SITE_ID_CURRENT_SITE', 1 );
define( 'BLOG_ID_CURRENT_SITE', 1 );
When I try to hit the dev subdomain in the browser it redirects to
/wp-signup.php?new=dev.example.com
Can anyone help/give pointers/anything?