Website Structure for Different Region | Community
Skip to main content
June 1, 2022

Website Structure for Different Region

  • June 1, 2022
  • 5 replies
  • 1231 views

We have a website with different regions (USA and India). All the content will be in English only so, no translation is needed. Also, the pages for both regions are different and they don't share the content either. Only, the look and feel are the same. In this case, what would be the best folder structure in "sites.html/content" for our website?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

5 replies

Fanindra_Surat
Community Advisor
Community Advisor
June 1, 2022

Hi @webdev91 - For determining the content structure, it is recommended to also factor in the end site urls. So to better assist you, please share the expected urls for India and US sites?

 

Else, to simply start with you can use something like below and map/modify it against other factors like End site URLs, Managing permissions, etc.

/content

-- /xxx (brand or company)

------ /en-us

------ /en-in

 

Kiran_Vedantam
Community Advisor
Community Advisor
June 1, 2022

HI @webdev91 

 

The hierarchy will always be /content/project-name/country/language/pages. So you can follow below structure:

  1. /content/project-name/us/en
  2. /content/project-name/in/en

Hope this helps!

Thanks,
Kiran Vedantam

SantoshSai
Community Advisor
Community Advisor
June 2, 2022

Hi @webdev91 

AEM is compatible by ensuring that they respect the split of mutable and immutable content.
In the repository /content is mutable area meaning they can be changed at runtime.

You can follow the recommended structure for your sites as we do have an best example from we-retail.



/content
  ++/brand
     ++/us/en/
     ++/in/en


Reference: https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/developing/aem-project-content-package-structure.html?lang=en


Hope that helps!

Regards,
Santosh

Santosh Sai
Kiran_Vedantam
Community Advisor
Community Advisor
June 2, 2022

Hi @santoshsai,

 

The concept of mutable and immutable content is for AEM as a cloud service. I don't think it is mentioned in the query asked.

 

Thanks,

Kiran Vedantam.

Himanshu_Jain
Community Advisor
Community Advisor
June 2, 2022

If there is no content rollout and content sync then create simple structure like

/content

-- /brand_name

     ----/us 

             --en

    ----/in

            --en

 

Thanks

 

Himanshu Jain
webdev91Author
June 2, 2022

Thank you all for your quick response.

As many suggested the below structure, we have decided to go with it.

/content
   /brand
     /us/en/
     /in/en/

 Thank you again, everyone!

@fanindra_surat @santoshsai @kiran_vedantam @himanshu_jain