Skip to content
 
 

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Secure WordPress Administration

An enterprise-grade, lab-driven curriculum for building, administering, hardening, and operating WordPress at scale — spanning the full lifecycle from installation and configuration, content and site building, users and access control, and defence-in-depth security, through server administration and performance, DevOps and deployment, and the monitoring, automation, and maintenance practices that keep production sites available and recoverable.

Curriculum home: Vault Catalog


Course Information

Property Value
Course Title Secure WordPress Administration
Folder Secure-WordPress-Administration/
Tag WordPress Administration
Slug secure-wordpress-admin
Level Beginner to Advanced
Duration Self-paced (≈4 Months · 1 Hour/Day)
Focus WordPress Administration, Hardening & Operations
Reference Stack WordPress (latest) · Nginx/Apache · PHP-FPM · MySQL/MariaDB · Debian/Ubuntu
Modules 28
Delivery Self-paced notes + hands-on labs
Language English

Note

What this course is A study-and-practice track built as an Obsidian knowledge base. Each module is a folder with its own Readme hub and a set of deep-dive notes containing tagged, copy-ready command snippets and configuration files. It is designed to be read in order but is fully cross-linked for reference use.


Course Description

WordPress powers a large share of the web, which makes it both a productivity platform and a constant target. This course treats WordPress as production infrastructure: you learn to install it correctly, build and organize real sites, manage users and content safely, and then harden every layer — application, plugins and themes, PHP, the web server, the database, and TLS — against the attacks WordPress sites actually face.

It progresses from first install to running hardened, monitored, automated, and recoverable WordPress at scale — WooCommerce stores, multisite networks, and headless/decoupled deployments — with DevOps release workflows, WP-CLI automation, and disaster-recovery practices throughout.


Overview

The Secure WordPress Administration program provides practical, enterprise-ready skills across WordPress administration, content and site building, security hardening, server operations, and DevOps. It assumes no prior WordPress experience and progresses to advanced, multi-service production deployments.

By the end of the course, students will be able to:

  • Install, configure, and administer WordPress and its LEMP/LAMP stack
  • Build, theme, and organize content-rich sites with the block editor and plugins
  • Manage users, roles, capabilities, and least-privilege access
  • Apply defence-in-depth hardening across application, server, database, and TLS layers
  • Administer and tune the web server, PHP-FPM, and database for performance
  • Deploy repeatably with containers, CI/CD, and WP-CLI automation
  • Run WooCommerce, multisite, and headless WordPress in production
  • Monitor, back up, and recover production sites under pressure

Tip

Administration and hardening are taught together Every service module ends with a hardening pass — least privilege, restricted access, authentication, logging, and firewalling — rather than treating security as an optional afterthought.


Learning Path

The 28 modules are sequenced into nine progressive stages. Complete each stage before advancing; later platform and operations modules assume the fundamentals from earlier stages.

Stage 1  Foundations ......... Introduction · Architecture · Installation · Dashboard · Settings
Stage 2  Content ............. Posts & Pages · Categories & Tags · Media · Content · Comments
Stage 3  Site Building ....... Homepage · Themes · CSS · Block Editor · Plugins
Stage 4  Users & Access ...... User Management · Roles & Permissions
Stage 5  Security ........... Security Best Practices · Vulnerabilities
Stage 6  Server & Performance  Server Administration · Performance · Maintenance
Stage 7  Scale ............... WooCommerce · Multisite & Headless
Stage 8  DevOps .............. DevOps & Deployment · WP-CLI
Stage 9  Operations .......... Monitoring & Observability · Automation
flowchart LR
    A[Foundations] --> B[Content]
    B --> C[Site Building]
    C --> D[Users & Access]
    D --> E[Security]
    E --> F[Server & Performance]
    F --> G[Scale]
    G --> H[DevOps]
    H --> I[Operations]
Loading

Prerequisites

Requirement Level Notes
Basic computer literacy Required File management, installing software
Web fundamentals Recommended HTML/CSS basics, how the browser talks to a server
Command-line familiarity Recommended Reinforced in-course; needed for server and WP-CLI modules
Prior WordPress experience Not required Course starts from a blank server
A machine capable of virtualization Required See Hardware & Virtualization Requirements

Tip

No WordPress background needed The first three stages assume zero prior WordPress exposure. If you already run WordPress, you can skim Stages 1–3 and start at Users & Access.


Software Requirements

Component Recommended Purpose
WordPress Latest stable release The application under study
Web server Nginx (primary) or Apache httpd Serving WordPress; both families covered
PHP PHP 8.2+ with PHP-FPM Running WordPress
Database MySQL 8 or MariaDB 10.6+ WordPress data store
Host OS Debian 12 / Ubuntu 22.04 LTS Server administration and hardening
WP-CLI Latest Command-line administration and automation
Containers Docker + Docker Compose Local dev and repeatable deployment
Editor Obsidian (to read these notes) + nano/vim Note-taking and in-VM editing
Optional WPScan, Burp Suite, Wireshark Vulnerability scanning and traffic analysis

Warning

Track web-server differences deliberately Rewrite rules, security headers, and rate limiting differ between Nginx and Apache. Notes give both where they diverge — do not assume an Nginx directive maps one-to-one to .htaccess.


Hardware Requirements

Resource Minimum Recommended
CPU 2 cores with VT-x/AMD-V 4+ cores with virtualization enabled
RAM 8 GB 16 GB+ (to run server + client VMs concurrently)
Disk 60 GB free 120 GB+ SSD
Network 1 host-only + 1 NAT adapter Additional internal network for multi-VM labs

Important

Virtualization must be enabled in firmware Hardware virtualization (Intel VT-x / AMD-V) must be enabled in BIOS/UEFI. Without it, hypervisors and container runtimes fall back to slow emulation or fail to start 64-bit guests.


Virtualization Requirements

The lab is a small virtual network of guests on a single host. Later phases expand this into containers and multi-node deployments.

Item Detail
Hypervisor VirtualBox 7.x or KVM/QEMU (libvirt + virt-manager)
Guest count 1 server + 1 client minimum; 2–3 for HA/multisite labs
Networking Host-only/internal network for isolated testing; NAT for updates
Snapshots Take a clean baseline snapshot per VM before each lab
Containers Docker/Podman for the WordPress + database + cache stack

Tip

Snapshot before you harden Take a snapshot after a clean install and again after base configuration. Hardening steps (file permissions, WAF, TLS, PHP restrictions) are the most common source of lockouts — snapshots make recovery instant.


Lab Environment

A reference topology used across the server and deployment modules:

                    ┌─────────────────────────┐
                    │   Host (Hypervisor)     │
                    └───────────┬─────────────┘
                                │  internal network 10.0.20.0/24
        ┌───────────────┬───────┴───────┬───────────────┐
        │               │               │               │
   ┌────────┐      ┌──────────┐    ┌──────────┐    ┌──────────┐
   │ web-01 │      │  db-01   │    │ cache-01 │    │  client  │
   │ Nginx  │      │  MySQL/  │    │  Redis   │    │ browser/ │
   │ +PHP   │      │ MariaDB  │    │          │    │  WPScan  │
   └────────┘      └──────────┘    └──────────┘    └──────────┘
Role Guest Services exercised
Web / app web-01 (Debian 12) Nginx/Apache, PHP-FPM, WordPress, WP-CLI
Database db-01 (Debian 12) MySQL/MariaDB, backups, tuning
Cache cache-01 Redis object cache, page caching
Client test workstation Browsing, admin, vulnerability scanning (WPScan)

Note

Isolate the lab network Keep labs on an internal/host-only network. Run vulnerability scans and WAF/Fail2Ban tests only against your own lab hosts — never against sites you do not own.


Course Modules

28 teaching modules grouped into nine logical tracks, each linking to the module's own Readme hub — plus the Practical Labs and Mini Projects collections (below) for 30 folders total.

Foundations

# Module Focus
1 Introduction to WordPress What WordPress is, hosted vs self-hosted, the CMS model, its place in the web ecosystem
2 WordPress Architecture and Internals Core, file structure, the database schema, the request lifecycle, hooks, plugin/theme APIs
3 WordPress Installation Standing up WordPress and its LAMP/LEMP prerequisites on Linux and local dev
4 WordPress Dashboard Management Navigating and administering wp-admin: panels, widgets, updates, the admin toolbar
5 WordPress Settings Configuration Site-wide settings, permalinks, .htaccess/rewrites, and privacy

Content & Site Building

# Module Focus
6 Posts and Pages Management Creating, publishing, scheduling, and versioning posts and pages
7 Categories and Tags Taxonomy, hierarchies, and consistent content organization
8 Media Management The media library, uploads, image editing, and optimization
9 Content Management Content strategy, formatting, linking, moderation, and revision history
10 Comments Management Configuring, moderating, and securing comments, plus anti-spam
11 Website Homepage Setup Static vs blog front page, layout, navigation, and featured content
12 Theme Customization Installing, activating, customizing, and vetting themes
13 CSS Customization Custom CSS, responsive design, and browser developer tools
14 Modern WordPress and Block Editor Gutenberg, block patterns, block themes, and full-site editing
15 Plugin Installation and Management Finding, installing, updating, and securely vetting plugins

Users & Access

# Module Focus
16 User Management Accounts, profiles, role assignment, and password management
17 User Roles and Permissions Built-in roles, capabilities, custom roles, and least-privilege access

Security & Hardening

# Module Focus
18 WordPress Security Best Practices Defence-in-depth: wp-config hardening, MFA, WAF, HTTPS, file permissions, logging, malware, incident response

Server Administration & Performance

# Module Focus
19 Server Administration The web server, PHP-FPM, database, TLS, and OS-level administration for WordPress hosts
20 Performance Optimization Caching, opcode/object caching, CDN integration, and database and front-end tuning
21 Website Maintenance and Administration Updates, backup and restore, migration, site health, and disaster recovery

DevOps & Deployment

# Module Focus
22 DevOps and Deployment Environments, version control, CI/CD, containers, and repeatable release workflows
23 WP-CLI Command-line administration, scripting, and bulk operations

Operations, Monitoring & Automation

# Module Focus
24 Monitoring and Observability Uptime, logs, metrics, alerting, and security monitoring for production sites
25 Automation Scheduled tasks, scripted maintenance, and hands-off operational workflows

WooCommerce, Multisite & Headless

# Module Focus
26 WooCommerce Running and securing an e-commerce store on WordPress
27 Multisite and Headless Multisite networks and headless/decoupled WordPress via the REST and GraphQL APIs

Vulnerabilities Reference

# Module Focus
28 WordPress Vulnerabilities A reference catalog of common WordPress vulnerability classes, real-world CVEs, and mitigations

Practical Labs

17 standalone labs — each self-contained (objective, requirements, topology, setup, validation, cleanup, troubleshooting). Start at the Practical Labs index.

# Lab Primary module
01 Install and Harden WordPress WordPress Installation
02 Vulnerability Scan with WPScan WordPress Vulnerabilities
03 Enable MFA and Login Hardening Security Best Practices
04 Content Security Policy Rollout Security Best Practices
05 Harden Nginx for WordPress Server Administration
06 WAF with ModSecurity and Fail2Ban Server Administration
07 Configure Redis Object Cache Performance Optimization
08 Backup and Restore Website Maintenance and Administration
09 WooCommerce Store Setup WooCommerce
10 Set Up WordPress Multisite Multisite and Headless
11 Build Headless WordPress Multisite and Headless
12 Deploy WordPress with Docker Compose DevOps and Deployment
13 CI/CD Deploy with GitHub Actions DevOps and Deployment
14 Blue-Green Deployment DevOps and Deployment
15 WP-CLI Bulk Administration WP-CLI
16 Uptime and File Integrity Monitoring Monitoring and Observability
17 Automated Backups with WP-CLI Automation

Mini Projects

12 multi-module capstone builds — each combines several modules into a realistic, hardened production build with architecture, security controls, deployment, and validation. Start at the Mini Projects index.

# Project Integrates
01 Personal Blog Deployment Installation · Content · Themes
02 Business Website Themes · Plugins · Performance
03 Membership Website Users & Roles · Plugins · Security
04 WooCommerce Store WooCommerce · Performance · Security
05 Multisite Deployment Multisite · Server Administration
06 Headless WordPress Headless · REST/GraphQL · DevOps
07 WordPress Migration Maintenance · Server Administration
08 Performance and Security Optimization Performance · Security
09 Disaster Recovery and Backup Maintenance · Automation
10 High-Availability WordPress Server Administration · Performance · DevOps
11 Secure WordPress Hardening Project Security · Server Administration
12 Enterprise WordPress Infrastructure All tracks

Learning Outcomes

On completion, a student can:

Domain Outcome
Installation & Configuration Stand up and configure WordPress on a hardened LEMP/LAMP stack
Content & Site Building Build themed, plugin-extended, well-organized sites with the block editor
Users & Access Provision users, design custom roles, and enforce least-privilege
Security Apply defence-in-depth hardening and respond to compromise
Server & Performance Administer and tune the web server, PHP-FPM, and database
DevOps Ship WordPress through CI/CD with containers and WP-CLI automation
Scale Run WooCommerce, multisite, and headless deployments
Operations Monitor, back up, and recover production sites

References


Related Courses

Sibling courses in this vault that pair well with WordPress administration:

  • Secure PHP Development — the language WordPress is built on; secure coding for custom plugins and themes.
  • Linux Administration and Server Hardening — hardening the server WordPress runs on.
  • Python for Security Professionals — automation and security tooling.
  • Enterprise Windows Infrastructure Security — hosting and securing WordPress on Windows/IIS.

Contribution

Contributions that improve accuracy, add labs, or deepen module notes are welcome.

Guideline Detail
Conventions Follow vault house style: one H1 per note (= filename), intro sentence, standard sections, tagged code fences
Links Use relative Markdown links ([text](../Folder/Note.md), [text](Note.md#heading-slug)) — they render on GitHub and still resolve in Obsidian. Avoid [[wikilinks]] (GitHub does not render them). Keep link integrity when renaming/moving notes
Callouts Use GitHub alert syntax — > [!NOTE], > [!TIP], > [!IMPORTANT], > [!WARNING], > [!CAUTION] (marker alone on its line; a title goes on the next line as > **Title**). These render as callouts on GitHub and in Obsidian
Scope Keep each note single-topic; wire new notes into the relevant module Readme hub
Accuracy Prefer tested commands and cite upstream docs for configuration claims
No placeholders Do not link to files that do not yet exist; mark planned work as forthcoming

License

Educational use. These notes are a personal study knowledge base compiled from public documentation and hands-on labs, released under CC BY 4.0. WordPress and WooCommerce are trademarks of the WordPress Foundation and Automattic respectively; other third-party trademarks (Nginx, Apache, MySQL, MariaDB, Redis, Docker, and others) belong to their respective owners and are referenced for identification only. Verify every command in an isolated lab before using it in production.

About

Open-source, lab-driven study notes for building, administering, hardening, and operating WordPress at scale — 28 modules across install, content, security, performance, and DevOps (CC BY 4.0).

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors