setting up multi-site on existing subdomain (3 posts)

  1. bobob21
    Posted 3 years ago #


    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....

  2. bobob21
    Posted 3 years ago #

    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)

  3. You would enable multisite on me.mydomain.com's install.

Topic Closed

This topic has been closed to new replies.

About this Topic