Support » Networking WordPress » MU on Subdomain, moving to main domain.

  • Resolved Dariusz

    (@idarek)


    Hello,

    I have got my private site and some of non-profit sites of my friends hosted on my main hosting account. As I am managing them – including updating, its start to be annoying logging everywhere to update plugins etc.

    I start to find a solution in Multisite.

    What I have done, that I convert my site (mysite.mydomain.com) into multisite.
    Than, I realised that this was not great idea, and better would be to have Multisite part on main domain (mydomain.com) and than from there create attached sites.

    I would like to move this to main domain (mydomain.com) but retaining my site under correct address (mysite.mydomain.com) without braking everything.

    I think about installing WordPress on main domain and try to move everything there, but this may cause some offline time and will take much time to move and check everything, as I will need to move this also in different folder on hosting account.

    Can somebody advise is there any good method to do this.

    mydomain.com is on my hosting account /www/sites/mydomain.com
    and
    mysite.mydomain.com on /www/sites/mysite.mydomain.com

    I think about moving files from /www/sites/mysite.mydomain.com to /www/sites/mydomain.com and changing my domain for multisite in config from mysite.mydomain.com to mydomain.com

    but are this not affect mysite.mydomain.com

    I am aware about domain redirection/mapping of that, but thats not a problem.
    Just want to know, if moved files to mydomain.com, backend will act like multisite for mydomain.com, and mysite.mydomain.com (after mapping correctly domain) will act like additional site in multisite environment.

    Know, that this may look complicated, but wondering are multisite backend is only related to what is in wp_config or some changes in MySQL will be needed.
    Maybe, solution is much easier than I think.

    Thank you for help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Bet Hannon

    (@bethannon1)

    Hi idarek!

    First off, if your main concern is making site management & updates eaiser, it would be far better to use something like Infinite WP (free), or Manage WP (3 sites free, paid after that) to pull the individual sites into a dashboard for management. This will not require downtime or moving sites — you will simply install a plugin in each site, then add them to the dashboard.

    I think your other question is related to how a mapped domain functions appears. Once you map the domain “mappeddomain.com” to the subsite “subsite.mydomain.com”, then “mappeddomain.com” becomes the domain for the site, and in large part, it functions just like a stand-alone site — you log in at “mappeddomain.com/wp-login.php”, etc. The exception is that you would add/delete plugins & themes from the network admin dashboard, not the site dashboard.

    Does that answer your questions?

    Thread Starter Dariusz

    (@idarek)

    Thanks for your support.

    In half way writing above post I realised couple things that help me move forward.

    First I move my Multisite from subdomain to main-domain using this
    https://premium.wpmudev.org/blog/move-multisite-new-domain/

    Because, ID=1 was my site, that shall be on subdomain, I copy subdomain into new site using
    MultiSite Clone Duplicator

    Than I clean main domain to act like master page for multisite, and on subdomain I got my site.

    Than I move some other sites. Below articles were very usefull.

    http://code.tutsplus.com/tutorials/moving-wordpress-moving-a-site-into-a-multisite-network–cms-22773

    and

    http://shibashake.com/wordpress-theme/move-an-existing-blog-into-wordpress-multi-site

    On the end, as some sites using their own domains instead of subdomains I need to exclude COOKIE DOMAIN into wp_config and now I am done.

    Moderator Bet Hannon

    (@bethannon1)

    Glad to hear you got it resolved!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘MU on Subdomain, moving to main domain.’ is closed to new replies.