Multiple Site Manager 4.0

Sitecore provides a possibility to add and configure multiple sites from inside the client without editing the web.config file. The Multiple Sites Manager module puts such possibility into practice. A user can easily manage and add custom sites. The Multiple Sites Manager allows setting up several different sites in a single installation

.Multiple Sites Manager

 

What is New in version 4.0?

  • Support for Sitecore 8
  • The module no longer uses the publish end pipelines to trigger site flush. Instead, there is new event “multisitesmanager:flush:remote” to do the job
  • At the end of flushing the site the module gives an option to restart local (CM) and remote (CD) servers. This is a handy tool to recycle the app pool and clear out LinkBuilder’s cache
  • Ability to use en-US as a regional ISO code, this is needed to support ClayTablet translations

How to install?

Download the Sitecore package from Sitecore Marketplace. Use the Sitecore Installer to install the package.

Configuration

On CM server: Typically there is nothing needed here. The module installs with the default configuration.

On the CD Server:

  • Copy the following files from CM to CD server
    • App_Config\Include\MultipleSitesManager.config
    • bin\MultipleSitesManager.dll
    • sitecore modules\Shell\MultiSitesManager\FlushSites.xml
  • Change the setting “MultiSitesContentDatabase” to web <setting name=”MultiSitesContentDatabase” value=”master”/>

Lastly, login to sitecore and navigate to system/sites, flush sites using the button under Configuration tab in the ribbon

How to use?

  • Add a site: Navigate to /sitecore/system/Sites. Right click to add a site or a site link
    • Sites: use it to create a new site definition. The default attributes are provided in the fields. For custom attributes/properties, create a new site attribute under the site definition item
      MSM Create Site                             msm site attribute
    • Site Link: use this to add links to any site definition that have been added in configuration files, e.g. website, scheduler etc
  • Flush Sites: This is a process to publish the sites to web database and force the servers to rebuild site definition
    • Navigate to Navigate to /sitecore/system/Sites, click on flush sites button under the configure tab and follow the prompts
    • Select the publishing targets. This is where you can select your targets and only publish to web database instance of sites
      MSM flush Site1
    • If you have added a new hostName updated target host name select the check boxes to restart servers. This is required to clear out linkbuilder’s cache (LinkBuilder class is used by sitecore to build site links)
      MSM flush site 2

How to upgrade from an older version?

  • Download the Sitecore package from Sitecore Marketplace
  • Unzip the package and replace the following files on both CM and CD servers
    • App_Config\Include\MultipleSitesManager.config
    • bin\MultipleSitesManager.dll
    • sitecore modules\Shell\MultiSitesManager\FlushSites.xml
Multiple Site Manager 4.0

3 thoughts on “Multiple Site Manager 4.0

    • July 21, 2017 at 4:18 pm
      Permalink

      Hi Mike,

      which version of the module are you using?

      Reply
    • January 8, 2018 at 12:35 am
      Permalink

      Open the installer zip file with winrar. Then open the packages.zip in there. Look at files folder for what files are installed and items folder for what items are installed. You can backtrack from there what to delete.

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *