You’ve done your hosting homework and wrangled the best Managed WordPress hosting provider you could find. Your content strategy is on lockdown, you’ve found the perfect theme, and you’ve set up your menus like a WordPress champion. It was easy to install WordPress with one click, but what’s actually going on underneath it all?
WordPress is wizardry that just works, so why take a look at the inner workings? Because you’re just that good.
The WordPress file system and structure holds your website together like a human skeleton. WordPress core developers have been thoughtful in how they’ve structured the file system of the WordPress CMS to make the system easy to understand, no matter what your experience level.
Core Elements of the WordPress File System
The default installation of WordPress consists of core components that are broken into a wp-config.php file, a wp-content directory, and a MySQL database. Themes, plugins and all uploaded assets are nicely stored within the wp-content folder, with themes in the appropriately named themes directory.
WordPress plugin files
Plugin file directory location: /wp-content/plugins/
It used to happen more often than it does today, but occasionally a rascally plugin will step out of line, making the admin area of your WordPress site inaccessible. However, the plugins directory has been engineered in a way that will help you troubleshoot the issue quite easily. Disabling a plugin is as simple as connecting to your Web server via FTP and renaming the plugin directory to [plugin]-disabled. You’ll then be able to access your administrator area once again.
WordPress theme files
Theme file directory location: /wp-content/themes/
Looking to install or remove a theme manually? The themes directory works similarly to the plugins directory. You can add or remove a theme simply by uploading or removing the folder from the wp-content/themes/ directory on your Web server.
The themes directory is also where you would also find your style.css file. The style.css file is the file most website owners will want to modify. The style.css file contains the global font sizes, colors, layouts and spacing for your theme.
Here are two great supplemental articles that will help you better understand the WordPress file system:
Also published on Medium.