The Configure Apache for WordPress section is using deprecated Order
/ Allow
directives. The access control docs for Apache 2.4 include:
The Allow, Deny, and Order directives, provided by
mod_access_compat
, are deprecated and will go away in a future version. You should avoid using them, and avoid outdated tutorials recommending their use.
The directives from this didn’t work for me with Apache 2.4.41 - I got HTTP 403s - and had to use
Require all granted
instead.