Created
November 21, 2017 20:37
-
-
Save JRondeau16/558817767c757733ab184aed4ec2188c to your computer and use it in GitHub Desktop.
SiteDefinition.config for Sitecore 9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:set="http://www.sitecore.net/xmlconfig/set/" xmlns:role="http://www.sitecore.net/xmlconfig/role/" xmlns:env="http://www.sitecore.net/xmlconfig/env/"> | |
<sitecore> | |
<sites> | |
<!--Local--> | |
<site name="[ProjectName]" inherits="website" | |
rootPath="/sitecore/content/ProjectName" | |
hostName="*" | |
targetHostName="ProjectName.local.com" | |
patch:before="site[@name='website']" /> | |
<!--Develop--> | |
<site name="[ProjectName]" | |
set:hostName="ProjectName.develop.company.com" | |
env:require="Develop" /> | |
<!--Beta--> | |
<site name="[ProjectName]" | |
set:hostName="manage.beta.client.com" | |
env:require="Beta" | |
role:require="ContentManagement"/> | |
<site name="[ProjectName]" | |
set:hostName="beta.client.com" | |
env:require="Beta" | |
role:require="ContentDelivery"/> | |
<!--Live--> | |
<site name="[ProjectName]" | |
set:hostName="manage.client.com" | |
env:require="Live" | |
role:require="ContentManagement"/> | |
<site name="[ProjectName]" | |
set:hostName="client.com" | |
env:require="Live" | |
role:require="ContentDelivery"/> | |
</sites> | |
</sitecore> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment