The folder structure of a Sitecore Experience Accelerator (SXA) website is logically organized to support multiple sites within a tenant and to segregate different aspects of a site like content, presentation, settings, etc. Here’s an outline of the structure you’ll typically see under a Sitecore SXA website:
- Tenant Folder: The tenant folder is a container for all the websites that belong to a particular tenant.
- Site Folder: Each website under a tenant has its own site folder. Within each site folder, there are several subfolders:
- Data: Contains folders for different types of data like Carousel data, Map data, etc. Any custom data can also be stored here.
- Forms: Contains all forms created for the website.
- Media: Contains all the media items like images, videos, documents, etc., used on the site.
- Presentation: Holds all the presentation items related to the site. It is further divided into:
- Partial Designs: Contains the reusable layout sections.
- Page Designs: Contains the combination of partial designs that make up full page designs.
- Available Renderings: Lists all the renderings available to the site.
- Settings: Holds various settings for the site. It includes folders for:
- Site Grouping: Contains site definition items. It’s where you set the hostname and other site grouping properties.
- Domains: Holds the domain for the site. This is typically left blank for SXA sites, as the domain is usually defined in the site grouping.
- Virtual Media Folder: If set, this will be the root folder for media requests.
- Site Settings: Contains different types of settings for the site, including the field names for generated search scopes, default search settings, dictionary, themes, etc.
- Templates: Contains all the local templates that have been created for the site.
- Shared Modules: Any modules that are shared across all sites in the tenant.
This is a general outline and the actual structure may vary a bit depending on your specific needs and how you’ve customized SXA. The key point is that each site is self-contained, with its own content, presentation, and settings, making it easy to manage multi-site solutions.