Extension > Extension web templates > Folder structure and naming
Folder structure and naming
Folder structure

The elements of a section are:
- index.html
- img folder
- docs folder
- lib folder
- includes folder
- js folder (if necessary)
- asp folder (if necessary)
- sub section folders
- index.html
- img folder
- docs folder
If there are images used on more than one page, they should be placed in an img
folder farther up in the hierarchy.
Folder and file naming
Names should mean something, both to people and search engines
- Yes: soft-organic-bedding-surfaces
- No: DE5241
Use hyphens between words
- Yes: dairy-days
- No: DairyDays, dairy_days, dairy days, dairy.days
Use all lower-case
- Yes: bev-durgan-wins-award
- No: Bev-Durgan-Wins-Award
When reasonable, use the full page title
Some of our titles are not conducive to this, so also call upon your judgment.
- Yes: the-right-person-for-the-right-job
- No: right-person-right-job
It is OK to leave out repeating words if including them is unnecessarily repetitive
- Example: it is OK to use dairy/organic/ rather than dairy/organic-dairying/