Title: Security
Published: March 28, 2023
Last modified: October 14, 2026

---

# Security

The goal of the page is to inform users who manage a WordPress site about general
security best practices both in terms of environment level items, such as file permissions,
as well as application-level items, such as setting up proper user roles, so they
have a better foundation for security than setting up WordPress somewhere with no
additional configuration.

**The most important thing to do for WordPress security is to keep WordPress itself
and all installed plugins and themes up to date. It is also encouraged for users
to choose themes and plugins that are actively receiving updates.**

WordPress is committed to providing a secure experience for users. Information about
WordPress’s official stance on security and a general discussion about WordPress’s
overall aims for security can be found on [WordPress.org’s Security page](https://wordpress.org/about/security/).

This guide borrows heavily from the WordPress Codex’s guide on [Hardening WordPress](https://wordpress.org/support/article/hardening-wordpress/).
Since it’s publicly editable, advice in the codex should be viewed with caution.

Keeping any system, not just WordPress, secure is continuous work. Good security
requires careful planning, monitoring, and periodic maintenance.

Security largely consists of reducing risk and planning for recovery. Most security
plans focus on minimizing the risk of unauthorized access only, but risk can never
be successfully reduced to zero. As long as there is some risk, you must plan for
recovery so that if something were to happen, user sites are not completely lost
and can be quickly restored to normal operation.

Security is also about more than WordPress. It is also about making sure your hosting
environment is secure and your personal online practices and behaviors keep you 
safe. Good security depends on the technology in use and the people using the technology.
Obsolete or out-of-date technology can have bugs or vulnerabilities that can put
your WordPress website at risk. People’s bad online practices can also put your 
WordPress website as risk. It is important to make sure that not only do you keep
the technology you use up-to-date and maintained but also that employees are using
security best practices when using the Internet and when interacting with your hosting
platform or customer WordPress sites.

First published

March 28, 2023

Last updated

October 14, 2026

Edit article

[ Improve it on GitHub: Security ](https://github.com/WordPress/Advanced-administration-handbook/edit/main/security/index.md)

Changelog

[ See list of changes: Security ](https://github.com/WordPress/Advanced-administration-handbook/commits/main/security/index.md)

[  Previous: Themes](https://developer.wordpress.org/advanced-administration/themes/)

[  Next: Logging In](https://developer.wordpress.org/advanced-administration/security/logging-in/)