Migrate WP 3.0 from subdomain to another subdomain
-
Ok, here is the situation.
I am sharing hosting with my sites. My main site is set up and hosting all my other domains. I have each of these domains pointed to a subdirectory on the main site. For example:
mainsite.com is hosting mainsite.com/domainA, mainsite.com/domainB, etc.
I have a domain that was pointing to mainsite.com/domainA which had WordPress on it. I want to shift that domain to point to mainsite.com/domainB, which also has WordPress installed on it but WP 3.0.1 (using the multisite functionality and buddypress).
So, I went into my host, pointed the domain to mainsite.com/domainB and indeed, when you type in the domain name it redirects to mainsite.com/domainB.
Problem is, I don’t want my URL to reveal where I am hosting my site to visitors. I don’t want the url to say mainsite.com/domainB. I want the URL to say domain.com.
With the old WordPress, or even the current standard install (not multisite), you would just go to Admin > Settings > General and change the URLs of the WordPress URL and Site URLs. (as per our example, I just changed it from mainsite.com/domainA to domain.com)
You can’t do this in WP 3.0 multisite. I am trying to figure out how. Now, when I look at the wp-config.php file I see:
define( 'MULTISITE', true ); define( 'SUBDOMAIN_INSTALL', false ); $base = '/domainA/'; define( 'DOMAIN_CURRENT_SITE', 'mainsite.com' ); define( 'PATH_CURRENT_SITE', '/domainA/' ); define( 'SITE_ID_CURRENT_SITE', 1 ); define( 'BLOG_ID_CURRENT_SITE', 1 );
Is that what I need to change? Just change mainsite.com to domain.com and domainA to domainB?
Thanks to anyone who can help!
- The topic ‘Migrate WP 3.0 from subdomain to another subdomain’ is closed to new replies.