WordPress Directory and File Structure


- Advertisement -

Once you install the WordPress site, you will see the WordPress directory & file structure of the WordPress.

There are three main directories

  • wp-admin
  • wp-content
  • wp-includes

Apart from these directories, there are also some files available in the WordPress root directory.

  • index.php
  • license.txt
  • readme.html
  • wp-activate.php
  • wp-blog-header.php
  • wp-comments-post.php
  • wp-config-sample.php
  • wp-cron.php
  • wp-links-opml.php
  • wp-load.php
  • wp-login.php
  • wp-mail.php
  • wp-settings.php
  • wp-signup.php
  • wp-trackback.php
  • xmlrpc.php
  • .htaccess
  • wp-config.php


wp-admin folder used to control the WordPress dashboard. This folder contains all the files of WordPress installation. wp-admin folder is responsible for the WordPress site admin dashboard, establishing a database connection.

The admin.php file is the min file of this folder, which is used to perform all important functions like whether the user is having administrative rights or not. This folder is one of the core folder of WordPress.

wp-admin folder also contains some folder and files looks like:


The wp-admin folder contains the plugins, themes, and other uploaded content. wp-admin folder looks like this:

wp-content -folder-structure

Whenever you will install a theme, the theme will store in the themes folder and the plugin will store in the plugins folder.

Whenever we will upload a picture it will store it in the uploads folder.


wp-includes contains all the necessary core files of WordPress. Which is necessary to run the website such as WordPress functions that control your posts, pages, widgets, and other features.wp-includes folder looks like this :


.htacces file is a server configuration file. It sued to manage the permalink structure, files of your WordPress site.


The index file loads and initializes all of your WordPress files when a page is requested by a user.


license.txt file is the license file of the WordPress. The WordPress is a free software and is licensed under the GNU General Public License as published by the Free Software Foundation.


This file contains the instructions to users.


This contains the following:


Function: Adds an action hook specific to the present page that fires on wp_head.


Fires before the location Activation page is loaded but on the wp_head action.


Function: Loads styles specific to the present page.


Action Hook: Fires before the location Activation page is loaded.


wp-blog-header.php file contains the http headers.


This files contain the database configuration, including the databasename, database username, database username password and the host name.

This file looks like this:

- Advertisement -

Leave A Reply

Your email address will not be published.