开发者

sitecore multiple domains, shared items

I have a site in sitecore at domain1.com

<site rootPath="/sitecore/content" startItem="/home" .. />

I want to create a second site at domain2.com that uses same items

<site rootPath="/sitecore/content" startItem="/home" ... />

Both sites refer to same items in content tree. Clear?

The links generated by sc:path(.) (makes absolute links) on the domain2.com refer to domain1.com. As far as I understand links refer to the f开发者_如何学Pythonirst site in web.config that refered to the items in content tree.

How can I get valid links for both sites?


Just Rendering.SiteResolving to false. The the sitecore will determine the urls' hostname from http request.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜