Skip to content

Instantly share code, notes, and snippets.

@apandrade
Last active March 13, 2024 15:10
Show Gist options
  • Save apandrade/e95e023faad6509cb558dddff162c158 to your computer and use it in GitHub Desktop.
Save apandrade/e95e023faad6509cb558dddff162c158 to your computer and use it in GitHub Desktop.
XML file used to define a new website in a multisite Sitecore solution. This file should be placed in the App_Config/Include/your-site-name folder.
<?xml version="1.0"?>
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
<sitecore>
<sites>
<site name="your-site-name"
patch:after="site[@name='modules_website']"
targetHostName="your-site-name.dev.local"
enableTracking="true"
virtualFolder="/"
physicalFolder="/"
rootPath="/sitecore/content/your-root-item-name"
startItem="/home"
database="web"
domain="extranet"
allowDebug="true"
cacheHtml="true"
htmlCacheSize="50MB"
registryCacheSize="0"
viewStateCacheSize="0"
xslCacheSize="25MB"
filteredItemsCacheSize="10MB"
enablePreview="true"
enableWebEdit="true"
enableDebugger="true"
disableClientData="false"
cacheRenderingParameters="true"
renderingParametersCacheSize="10MB" />
</sites>
</sitecore>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment