What is the website root in an AEM project? | Community
Skip to main content
New Participant
July 10, 2025
Solved

What is the website root in an AEM project?

  • July 10, 2025
  • 2 replies
  • 448 views

I would like to know what folder of an AEM project is the website root.

It seems there could be two different folders that match the description, but it is unclear which of those is actually the case and I couldn't find any information on that so far.

 

The two possible folders would be:

1) The uppermost project folder directly under "content/" in the CRX folder structure

2) The parent folder of the first HTML page (startpage) of the project, which is usually 1-2 folder levels below the first project folder

 

Can someone clarify that for me? Would be much appreciated!

Best answer by SantoshSai

Hi @tobias_kolbe,

The website root in an AEM project is typically the folder directly under /content/ for your project.

Example:

/content/myproject ← This is the "website root" └── en └── home (homepage)
  • This is the top-level node in AEM that represents your entire website.

  • It usually contains language folders (eg. en, fr, etc.).

  • It is the root for site structure, permissions, language copy, and often used in:

    • Sitemap generation

    • Navigation root configuration

    • Live copy/inheritance base

    • Dispatcher filters

    • Cloud Manager rewrite rules

2. /content/<project>/en/home or similar - Start Page (Homepage)

  • This is usually the first HTML page (like home, index, landing) that loads.

  • It is the entry point for the user and might be configured as the default page or redirect target.

  • It is not the structural root, but the content homepage.

  • Sometimes it’s 1–2 levels down (eg. /content/myproject/en/home).

/content └── myproject ← Website root (project root) └── en ← Language root └── home ← Homepage/start page (first HTML page)

2 replies

SantoshSai
SantoshSaiAccepted solution
New Participant
July 10, 2025

Hi @tobias_kolbe,

The website root in an AEM project is typically the folder directly under /content/ for your project.

Example:

/content/myproject ← This is the "website root" └── en └── home (homepage)
  • This is the top-level node in AEM that represents your entire website.

  • It usually contains language folders (eg. en, fr, etc.).

  • It is the root for site structure, permissions, language copy, and often used in:

    • Sitemap generation

    • Navigation root configuration

    • Live copy/inheritance base

    • Dispatcher filters

    • Cloud Manager rewrite rules

2. /content/<project>/en/home or similar - Start Page (Homepage)

  • This is usually the first HTML page (like home, index, landing) that loads.

  • It is the entry point for the user and might be configured as the default page or redirect target.

  • It is not the structural root, but the content homepage.

  • Sometimes it’s 1–2 levels down (eg. /content/myproject/en/home).

/content └── myproject ← Website root (project root) └── en ← Language root └── home ← Homepage/start page (first HTML page)
Santosh Sai
New Participant
July 10, 2025

Hi @santoshsai,

 

thank you very much for your detailed reply!

Now it is fully clear to me! 🙂

 

Best Regards,

Tobias

 

arunpatidar
New Participant
July 10, 2025

Hi @tobias_kolbe 

For single tenant site you can use 2 level as root e.g. /content/wknd.

If you have multi tenant setup then /content/myorg/site1

Arun Patidar
New Participant
July 10, 2025

Hi @arunpatidar,

 

thank you for your reply! 🙂

 

Best regards,

Tobias