WordPress

How WordPress files and the database work together

October 3, 2026•Beginner•25 min
Beginner25 minStep 1

Understand what must be backed up and what a theme can and cannot store

Goal
You should be able to demonstrate the result described in the lesson and explain why each step was necessary.

Step-by-step

01

Separate code from content

Themes and plugins live in files; posts, pages, users, menus, and most settings live in the database.

02

Know wp-content

Uploads, themes, and plugins normally live under wp-content and are central to site-specific files.

03

Know wp-config.php

This file connects WordPress to the database and contains important keys and environment settings.

04

Understand permalinks

Pretty URLs depend on WordPress rewrite rules and the web server configuration.

05

Plan backups accordingly

A complete recovery needs both database content and the site-specific files.

Verify before moving on
You should be able to demonstrate the result described in the lesson and explain why each step was necessary.

Troubleshooting

If a command or screen differs from the lesson, stop and verify the version you are using before forcing a change.

What you learned

You now understand the purpose of this part of the system and have a concrete result you can verify before continuing to the next lesson.