WordPress.org

Ready to get started?Download WordPress

Ideas

Better Default Filesystem structure

  1. Andrew Woods
    Member

    The usual wordpress install runs an entire site, which results in putting all the wordpress core files in the root of the website. Core files and site specific files are mixed together. Currently only the wp-config.php can be moved outside of the document root, but it usually isn't. The typical setup looks like this:

    /webroot
        /.htaccess
        /index.php
        ... core files ...
        /wp-admin
        /wp-config.php
        /wp-content
            /plugins
            /themes
            /uploads
        /wp-includes

    I'd like to see the wordpress core files moved into their own directory. Not only is it less cluttered, but it becomes clearer to the less-advanced user where their files go. Also, When checking into our own version control repo, it's easier to use svn:externals (or equivalent) with the wordpress.org repo.

    /webroot
        /.htaccess
        /index.php
        /wp-content
            /plugins
            /themes
            /uploads
        /wp-config.php
        /wp-core
        ... core files ...
            /wp-admin
            /wp-includes
    Posted: 1 year ago #
  2. Ipstenu (Mika Epstein)
    Half-Elf Support Rogue & Mod

    Threre are other core files, besides wp-config.php, are you using '... core files ...' to shorthand that? Due to how the ideas forms mucks up formatting, I changed yours to preformatted, so it was hopefully a little more readable.

    Posted: 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    0 Votes
  • Status

    Sorry, not right now