I'm trying to add another site to the same domain within Sitecore.
So my new site would be accesiable via www.example.com/au
My Sitecore structure is:
Content
Main Site
Home
Sub Site (subsite)
Home
I have the following in my config
<site name="SubSite" patch:after="site[@name='website']" virtualFolder="/" physicalFolder="/au" rootpath="/sitecore/content/subsite" startItem="/home" database="master" 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">
But when I navigate to www.example.com/au
it doesn't work.
Any ideas?
patch:before
instead ofpatch:after
. I think website site takes all the request before they hit your site. And maybe you'll need virtual folder set toau
as well