WordPress Folder Structure

Hope you have quite enough information related to requirements and how to install WordPress on your server. Now, lets discuss directory/file structure of WordPress so you have clear idea how things are handled and where you have to upload the related files.

Basically, after you install wordpress check the main directory where you have uploaded the files. You will find 3 main folders named: wp-admin, wp-content and wp-includes and other files as shown in screenshot below:
Wordpress Folder Structure

Among files present you already have idea for wp-config.php file which is described on our WP Installation post. Now, another important file is the .htaccess file which when you enable the pretty permalinks will create a nice SEO friendly URL. All the rules for redirection and SEO friendly URL’s can be written manually here or by WP when you enable permalinks.

Now, lets come to different folders:

wp-admin and wp-includes folder are the core folders of WP and you don’t need to change anything inside it cause any chnages made inside these folder will get replaced when you upgrade you WordPress version. So, modifying on the main core files on wp-admin and wp-includes folder is strictly prohibited.

wp-content folder is the most important folder for the designers and developers to understand. Everything you need to install, modify is to be done inside wp-content folder. wp-content folder consists of other subfolders as: plugins, themes and uploads. Uploads folder might not be created at the time during installation but once you work with images on wp it will automatically be created. Also, uploads folder must be provided 777 permission which is read/write/modify permission as all of the uploaded image and files are stored/handled in this directory.

Lets discuss on its subdirectories:
WP folder structure

plugins: plugins folder is for the plugins. You can install plugins from the backend but if you don’t want to provide server permission from backend to upload themes and plugins then you can upload the plugin files to this directory and then check out the plugins page on the backend where you can activate the plugin which you have uploaded manually.

themes: themes folder is similar to plugins folder but the difference is, it is for themes. As plugins you can upload different themes manually or upload it from backend. By default there are two themes already inside WP these days named: twentyten and twentyeleven.

uploads: As already mentioned uploads folder is used to store the images and files and should be provided with 777 directory permission.

So, that’s all with the directory/folder structure for WordPress.

, , ,

3 Responses to WordPress Folder Structure

  1. good articles September 22, 2012 at 4:10 am #

    Hiya! I simply wish to give a huge thumbs up for the good info you will have right here on this post. I will probably be coming again to your weblog for extra soon.

  2. Serina September 23, 2012 at 1:44 pm #

    Some genuinely quality blog posts on this website , saved to fav.


  1. Homepage - September 14, 2013

    … [Trackback]…

    […] Read More here: techbreezy.com/wordpress-folder-structure/ […]…

Leave a Reply