Sitecore mobile website – Separate content tree structure part 2

This post is Part 2 of the series for sharing information about sitecore mobile implementation where the content is not shared with other sites for e.g. desktop site and mobile site have different content architecture. The requirements for the implementation can be,

–          Content is different between mobile site (http://m.mysite.com/) and desktop site (http://mysite.com/).

–          Few pages might share the content from other site.

–          Sub-domain should be used for mobile site for e.g http://m.mysite.com/

Information about mobile device, layouts, sublayouts etc is covered in Sitecore mobile website – Shared content tree structure – Part -1

Content Tree

A new website can be defined for mobile site which will hold all pages and content.

sitecore mobile site - Separate - 1

Sharing content

There might be a requirement for few pages to derive their content from other site, in such scenario Cloning can be used. More details about cloning can be found at Content Author’s Reference and Cookbook

Web.config

Now define a new website in web.config file to map you mobile site content to m.mydomain.com. Refer to the section for web.config file in part-1.

Leave a Reply

Your email address will not be published. Required fields are marked *