-
Notifications
You must be signed in to change notification settings - Fork 29
3. Folder Structure
alex_prokopenko edited this page Dec 1, 2017
·
4 revisions

The organization of skeleton is similar to putting WordPress core files in its own subdirectory.
Improvements we made:
-
cms/is where the WordPress core lives. It's managed by Composer but can't be put under vendor due to WP limitations. -
wp-content/is stay as usual in the web root folder. -
wp-config.phpremains in the web root, because it's required by WP, but it only acts as a loader. It defines generic constants which are similar to all environments. In most cases you don't need to edit it anymore. -
environments/is where the environment-specific constants are defined (like WP_DEBUG, etc.). -
vendor/is where the Composer managed dependencies are installed to. - a lot of security
.htaccessfiles/tunings are also added by default.
Next: Configuration Files