Child Sites

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
6/30/2018 12:07:17 PM
Total Posts 47

Child Sites


I am sure you have the solution.

Sometimes ago I created a child site, that has grown more than expected and is now more important and complex than the main site. I  would like to isolate it and make a brand new installation.

Any suggestion?


Thanks in advance



10/20/2018 2:05:11 AM
Total Posts 2219

Re: Child Sites

Hi Mari,

You can make a child site a stand alone site by following these steps:

  1. Backup the site database and restore it as a separate database with a new name. On the new database, run this SQL (where the site you are isolating is ID 2):
    UPDATE mp_Sites SET IsServerAdminSite = 0 WHERE SiteID = 1;
    UPDATE mp_Sites SET IsServerAdminSite = 1 WHERE SiteID = 2;
  2. Create your new site in IIS, give it a temporary url binding.
  3. Copy all of the mojoPortal files from the original site. For the \data\sites\[n] folders, copy only the child site you are isolating but keep its site number. So, if the site you want to isolate is site number 2, leave it as 2 when you copy it.
  4. Edit the user.config in the new website files
    1. set the connection string to connect to the database you created earlier
    2. add <add key="AllowDeletingChildSites" value="true" /> 
  5. Open to the new site in your browser. You should be directed to the site you wanted to isolate.
  6. You can login and delete the other sites.

I hope this helps,

You must sign in to post in the forums. This thread is closed to new posts.