If you have worked on Drupal before, you have likely heard the following advice given about where you should put your modules:
Modules that are downloaded from Drupal.org (or elsewhere) should be stored in
sites/all/modules/
Modules that you have created should go in
sites/default/modules/
Note
The fact that this is a common suggestion does not mean it is the only suggested method, or even the best. There are several competing conventions for how you should organize modules. Each has its advantages and disadvantages.
This advice is convenient for situations in which there is only one site. But for multi-site configurations, things get more complicated.
The sites/all/
directory houses data that is shared among all of your sites. The sites/default/
directory houses data used only for the default site (and in our current configuration, we're not using this directory). And the sites/SITENAME/
folders (sites/books.local/, sites/cooks.local/
, and sites/looks.local/)
contain data...