The main files and directories in WordPress

This article gives an overview of the major files and directories in WordPress. Is it really important to know about these files and directories for the purpose of editing or modifying your blog.


WordPress is the perfect tool for creating your blog. You do not need to think much or go elsewhere to find the major tool of your blog. WordPress is the tool for you. A WordPress blog has two parts:

- The public part, i.e. the one that every user sees. It contains articles, comments, pages that are displayed in the graphical theme of your blog;

- The private part, i.e. the only you see. This is where you create you articles, validates the comments and so on.

The private part of a WordPress blog also contains an important part – the main files and directories. Knowing the main directories of WordPress as well as the main WordPress files can be useful. It can sometimes be difficult to work on WordPress if you do not know which directories and files to edit. This write up is not intended to be exhaustive, mainly because all files and directories are not relevant to be listed here. But the most important ones have been described here

Where is WordPress installed?

WordPress is installed on the storage space of the hosting that you have purchased. Your host has provided you with the necessary data to connect with Filezilla in this space. And you'll be presented with a list of directories and files. Just like you'll be presented with a list of directories and files by opening your C: drive (if you're using Windows)

Where is the WordPress installation directory found? The answer depends on your hosting provider, which is sure to provide you the answer in their FAQs. But on most of the hosting providers, when you use your main account, the login directory contains several files and directories. The WordPress installation directory of your main site is the directory "www". The WordPress installation directory on each companion site you have created is a function of its creation. When you sign a companion site, you find yourself directly in the WordPress installation directory.

The main directories of WordPress

All directories and files listed below are therefore in the directory specified above. Let's start by listing the main sub-directories WordPress.

1-"wp-admin": Directory Administration. This directory contains the WordPress admin interface. It is advised that you do not go rummaging inside this directory. Any error in handling would be fatal to your blog.

2-"wp-content": Content Directory. This directory contains the contents of your blog. All content of your blog is not present; the key contents are in the database of your blog, namely articles, pages, comments, and other data. The contents of this directory is the content needed to run your blog.This directory contains several directories, each dedicated to a use or a specific type of content.

3-"wp-content/plugins": Plugins Directory. This directory contains plugins for your blog. Every WordPress plugin installed on your blog, it is activated or not, is in this directory.

4-"wp-content/themes": Themes Directory. This directory contains the theme of your blog. Each WordPress theme installed on your blog, whether used or not, is in this directory.

5-"wp-content/uploads": Directory of media files. This directory contains the media files to your blog. By media file, it means images, videos or PDF. These files are used to illustrate articles, unless they are the core of the article in question.

Read Top 5 social WordPress plugins to share your articles

Related Articles

Top 10 must have plugins for Wordpress website

If you are using a Wordpress website or planning to create a Wordpress website, then this article may be useful for you. Here we have discussed a list of top ten essential plugins which makes your wordpress website better.

WordPress wins the best CMS award

Here is a good news for the WordPress users: WordPress has been selected for the Members Choice Award from CodeProject as the best CMS solution for content management. Learn more about the best Content Management System award for WordPress.

How to integrate Wordpress onto an existing website?

By installing and integrating Wordpress onto your existing website, you can display your blog content and/or the blog feed in a specific section of the site. Please note that a good knowledge of HTML, CSS and a basic knowledge of PHP is essential to understand this article.

What to do after installing a WordPress blog

Read this article and get to know what you must do when you install a WordPress blog. This article discusses about what to do just before installation, setting up the basic configuration and other details.

More articles: WordPress


No responses found. Be the first to comment...

  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name: