Support » Networking WordPress » setting up multi-site on existing subdomain

  • Hi

    I have a website, like http://www.mydomain.com. I have previously installed WP in http://www.mydomain.com/blog

    I also addes previously a subdomain: me.mydomain.com which is in fact the same as http://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 http://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….

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter bobob21

    (@bobob21)

    p.s. I do not know if this makes a difference but

    http://www.mydomain.com/blog (or blog.mydomain.com) should stay visible to the publiv

    – me.mydomain.com/blog2 can only be accessed after entering a (https) password

    – me.mydomain.com/blog3 can also only be accessed after entering a (https) password

    (accessed = viewing blog post)

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    You would enable multisite on me.mydomain.com’s install.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘setting up multi-site on existing subdomain’ is closed to new replies.