Where is the WordPress content stored?

WordPress saves its content in two places:

  • The database (MySQL or MariaDB): posts and pages (wp_posts), custom fields, comments, users, categories and tags, and all settings (wp_options).
  • The file system: uploaded images and files in wp-content/uploads, and the code of themes and plugins in wp-content/themes and wp-content/plugins.

So a full backup needs both the database and the wp-content folder. See Backup and Update.


Learn more about the similar topics:
Tutorials
No Content Found.
Exercises & Assignments
No Content Found.
Interview Questions & Answers
How many default tables are in a WordPress database?
Where is the WordPress content stored?
What is the default table prefix for the WordPress database?