WordPress Security: 12 Steps to Harden Your Site
WordPress powers 43% of the web, making it the biggest target for attackers.
WordPress is the most popular CMS on the planet, which means it's also the most targeted. Here's how to lock yours down.
Essential steps
- Keep WordPress, themes, and plugins updated
- Remove default admin account
- Use strong, unique passwords
- Install a security plugin (Wordfence, Sucuri)
- Disable file editing in wp-config.php
- Limit login attempts
- Change the login URL from /wp-admin
- Disable XML-RPC if not needed
- Set proper file permissions (644 for files, 755 for directories)
- Use SFTP instead of FTP
- Enable 2FA for all admin accounts
- Regular backups to offsite storage