WordPress.org

Ready to get started?Download WordPress

Forums

Questions on the folder architecture for a wp site (4 posts)

  1. tdcarp
    Member
    Posted 2 years ago #

    Just getting started learning WP but do have web experience. I'm about to make the decision on the sites folder architecture and could use some advice.

    I understand wp is installed in a folder that doesn't necessarily have to be the root (i.e. could be a subfolder). Is there any wisdom on which architecture to choose? There's only going to be one hosted site in the root area. (I do have another host area where there are multiple "sites" but I'll ask about that in a later post).

    One thought is to have a folder structure outside the folder with wp installed to take advantage of being able to organize the non-wp folder structure and leave the wp structure "native". This means I could store much of the media outside the wp folder and link to it.

    Sorry if I'm not asking a very specific question. I'm early in the wp learning curve.

    Maybe the question is "what are the best site folder architectures for wp sites"?

    Thanks

    Tom

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    Is there any wisdom on which architecture to choose?

    None whatsoever. You install WordPress in the folder that suits your needs. I have sites in sub-folders and sites in root. I can still access non-wp media without any problem on either type of site.

  3. tdcarp
    Member
    Posted 2 years ago #

    Remember I'm just getting started.

    Is it true WP stores all media in one "location"? If you intend to have a lot, is it wise to put it in folders outside wp?

    I'll do some homework on whether the wp media location can be organized.

    Tom

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    WordPress places all uploads in the wp-content/uploads folder by default but these can then be sorted into year and month folders (eg uploads/2010/07/example.jpg) via the configuration in Settings -> Media.

    You can also use a completely different upload folder - again via the configuration in Settings -> Media.

    If you intend to have a lot, is it wise to put it in folders outside wp?

    Not really. What would be the benefit?

Topic Closed

This topic has been closed to new replies.

About this Topic