setting up multi-site on existing subdomain
-
Hi
I have a website, like https://www.mydomain.com. I have previously installed WP in https://www.mydomain.com/blog
I also addes previously a subdomain: me.mydomain.com which is in fact the same as https://www.mydomain.com/me
I now want to have a second blog which has the following URL: me.mydomain.com/blog2
How to I proceed to do this? I have enables the multi-site function. It was however trying to add new blogs to https://www.mydomain.com/blog/blog2. This is obviously not what I want. After this I changed the third line in wp-config.php to true
define(‘WP_ALLOW_MULTISITE’, true);
define(‘MULTISITE’, true);
define(‘SUBDOMAIN_INSTALL’, true);Now I can add a new site with the following URL: blog2.mydomain.com
(which doesn’t work, but perhaps I first have to create the subdomain blog2 with my hosting service?).This is however also not what I want to achieve. I want me.mydomain.com/blog2
Does anybody know how I can achieve this? Do I also have to alter the URL or base dir of the “main” site (www.mydomain.com/blog)? I hope not….
- The topic ‘setting up multi-site on existing subdomain’ is closed to new replies.