Home / Guides / WordPress handbook

WordPress handbook

WordPress Security, Hosting and Troubleshooting Handbook

A working manual for the people who keep WordPress websites online: site owners, administrators, developers and support engineers. It explains how WordPress works from the DNS lookup to the database query, how sites get compromised, and how to diagnose and fix failures without making things worse.

Updated · Written and maintained by the FORM & FRAME team

19 chapters255 plugins checked49 errors explained57 plugin conflicts16 upload problems177 glossary terms

How to use this knowledge base

Each chapter takes one area of a WordPress system and covers it the same way: what it is, how it works, why it matters, what goes wrong, how to investigate, how to fix it safely, how to verify the fix, how to reverse it, and when to call your host or a developer. The idea is that you understand the system well enough to reason about problems this manual does not list.

  • Searching. Use the search box at the top of any handbook page; it also searches the SEO guides. Search covers headings, explanations, error codes, plugin names, configuration directives and troubleshooting entries. Partial words work: memo finds memory limits, 50 finds every 50x error.
  • Reference databases. The Plugin Conflict Database (Chapter 03), the Upload Troubleshooting Database (Chapter 04), the Error Encyclopedia (Chapter 09), the Plugin Compatibility Database with its two-plugin checker (Chapter 13) and the Glossary (Chapter 19) have their own filters. Use them when you already know the symptom.
  • Deep dives. Blocks marked + are optional deep dives; open them when you need the detail. Every chapter is its own page, listed in the chapter picker at the top.
  • Copy buttons sit on every code block and many inline commands. Read a command before you run it, and change the example paths and domains to your own.
  • Checklists remember your ticks in this browser if local storage is available. They store tick marks and nothing else: no passwords, hostnames or site data.
  • Printing. Printing gives a clean copy of the chapter without the site navigation or filter bars.

Five rules that prevent most self-inflicted outages

  1. Have a restorable backup before you change anything. That means a backup of files and database that you know how to restore, stored somewhere other than the server it protects. A backup that has never been test-restored is a hope, not a backup.
  2. Change one thing at a time. If you raise the memory limit, deactivate two plugins and purge the CDN together and the site recovers, you have learned nothing about the cause and you cannot tell which change can safely be reversed.
  3. Prefer staging for anything non-trivial. Updates to WooCommerce, page builders, PHP versions, server configuration and database clean-ups should be rehearsed on a copy first.
  4. Write it down. Record the time, what you changed, the old value and the new value. In an incident this record is the difference between a five-minute rollback and an afternoon of guessing.
  5. Know the undo before you do. Every configuration example in this manual includes a rollback. If you cannot describe how you would reverse a change, do not make it on production.
General behaviour versus your host's behaviour

This manual describes standard WordPress behaviour and common server setups. Hosting platforms differ a lot. Managed WordPress hosts often block certain plugins, control caching at server level, hide PHP settings and run their own firewalls. Shared hosts may cap processes and memory below anything you set. Where the host decides the behaviour, this manual says so. When the manual and your host's documentation disagree, your host's documentation describes your platform.

All 19 chapters

Conventions used in this manual

ConventionMeaning
example.com, /var/www/example.com/publicPlaceholder domain and document root. Replace with your own.
wp_ table prefixThe default prefix. Your installation may use a different one; check $table_prefix in wp-config.php and adjust SQL accordingly.
Requires host / admin approvalThe change affects server-level configuration, may need root access, or can take the whole server down if it is wrong. On shared or managed hosting, ask the host to make it.
Apache 2.4 and similar tagsThe environment an example applies to. Apache syntax does nothing on Nginx, and the reverse.
Low Medium HighRisk of the change or conflict pattern: how likely it is to cause a visible outage, data loss or security exposure.
Example valuesNumbers such as memory_limit = 256M are illustrations of typical values, not universal recommendations. The right value depends on the site, the traffic and the server.
Versions

Written against WordPress 7.x, PHP 8.x, MySQL 8.x and MariaDB 10.11 or later, Apache 2.4, current Nginx and LiteSpeed releases, and current versions of the plugins named. Where a behaviour arrived in a particular release, the release is named. Versions move fast, so check the official requirements page and your host's documentation before a major change.

About this handbook

Form & Frame is a WordPress infrastructure, security, maintenance and technical support knowledge base: a reference for the people responsible for keeping WordPress sites secure, fast and online.

Scope and approach

The manual favours understanding over recipes. Each topic explains what a component is, how it works, why it matters, what goes wrong, how to investigate safely, how to fix and verify, how to roll back, and when to involve a host or developer. Configuration examples are written to be read, understood and adapted, not pasted blindly.

Content reflects WordPress 7.x, current PHP 8 releases, MySQL 8.x/MariaDB LTS releases, Apache 2.4, current Nginx and LiteSpeed, and current versions of the plugins named, as of December 2026. Product names in the conflict database are examples of categories; compatibility always depends on versions, configuration and hosting.

Disclaimer

This knowledge base is general technical guidance. It is not legal, compliance or financial advice, and it cannot account for every hosting platform or configuration. Always back up before making changes, test on staging where possible, and follow your hosting provider's documentation where it differs. For suspected data breaches, involve qualified security and legal professionals.

Privacy

These pages load no advertising or tracking scripts, and the filters and search run entirely in your browser. The only data it stores is checklist tick marks, in your browser's local storage when available. If storage is blocked, the checklists still work for the current session. It never stores passwords, credentials or website details. Clear checklist data with each list's Reset button or by clearing site data for formandframe.co.za in your browser.

Rather have someone else keep WordPress healthy?

Our managed hosting and care plans cover updates, backups, security monitoring and fixes like the ones in this handbook, so you can get on with running the business.

See Hosting & Care