0

I am facing sc_site resolve issue in Sitecore 9.2 experience editor and preview mode in multisite setup.

I have done all the possible setup in configs-

<setting name="Preview.ResolveSite" value="true" />
<setting name="Rendering.SiteResolving" value="true" />
<setting name="Rendering.SiteResolvingMatchCurrentSite" value="true" />
<setting name="Rendering.SiteResolvingMatchCurrentLanguage" value="true" />

Default site value is set to website-

Preview.DefaultSite ="website"

Sites name are correct in the Site config file. Please check a sample site configuration-

<site name="Sitename" virtualFolder="/" physicalFolder="/" dictionaryDomain="name" startItem="home"    database="web" domain="extranet" allowDebug="true" cacheHtml="true" language="en"      htmlCacheSize="50MB" enablePreview="true" enableWebEdit="true" rootPath="/sitecore/content/sitename/itemName1/" enableDebugger="true" disableClientData="false" scheme="https" />
2
  • What is the error you are getting?
    – Ghan
    Apr 21, 2023 at 14:31
  • When I am opening any page item in preview mode or experience editor, it is not resolving the site name in sc_site querystring. So unable to see proper layout in those views. Apr 21, 2023 at 15:48

1 Answer 1

0

Just an update, after some internal discussion we found that he start path value is set "/home" in the config but in CMS it is "/Home". Now I changed the value to "Home" in the config file and its starts working fine now. But I am not able to understand the root cause of this. Because same case issue is there in UAT and it's working fine there.

Can anyone please help me to find out the root cause?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.