My immunity is strong.

35 Useful Tips to Hardened WordPress Security in 2021

Implement these tips to make your WordPress site secure
Tips to make your WordPress site secure

Is WordPress secure?

Is WordPress easily hacked?

How do I ensure security in WordPress?

How to secure WordPress website from hackers?

What are the best WordPress Security tips for 2021?

Could you list WordPress Security best practices?

Which is the best WordPress Security checklist 2021?

If you are looking for answers to the above questions then you have come to the right place.

Congrats and pat your back.

You did an excellent job. Keep it up!

You are a wonderful human being.

Now lets get back to out article.

By default WordPress as a content management system is secure.

But there are things that weaken security like themes and plugins.

WordPress Security can be hardened, simply by increasing the degree of difficulty to hack.

Tips to Hardened WordPress Security

  1. Host your blog with a reputed hosting company.
  2. Always Keep WordPress Updated.
  3. Use secure themes, and make sure you regularly update them.
  4. Delete unused WordPress themes.
  5. If not required disable new user registration.
  6. Make your nickname different than WordPress login username.
  7. Change WordPress “Display name publicly as” to something different than login username.
  8. Use long complex password for WordPress login.
  9. Create new WordPress administrator with login username other than “admin”.
  10. To avoid brute force attack, protect your WordPress login page or create new one.
  11. Disable WordPress login hints in login error messages.
  12. Remove lost password link from WordPress login, if not required.
  13. Redirect failed WordPress login to homepage.
  14. Redirect lost password link to homepage.
  15. Disable XML-RPC completely if you do not connect to external service.
  16. Plugins are the biggest reason WordPress sites get hacked.
  17. Make minimum use of WordPress plugins.
  18. Delete unused WordPress plugins.
  19. Always keep plugins updated.
  20. Create WordPress Blog Specific Plugin for code snippets specific to your site.
  21. Change WordPress database table prefix from the default wp_ to avoid SQL injection attack.
  22. Change WordPress user ID to hide login username from your-site.com/?author=1 which redirects to author url [your-site.com/author/username/].
  23. Change WordPress Author URL Base, and Slug (user_nicename).
  24. Keep a log of WordPress Database and PHP errors.
  25. Enable HTTPS.
  26. Enable HTTP Strict Transport Security (HSTS) header.
  27. Only allow authorized users and applications to access WordPress Rest API.
  28. Activate web application firewall to filter traffic.
  29. Always use SFTP or SSH to connect to server.
  30. Disable directory listing for WordPress files and folders.
  31. Disable PHP execution in WordPress uploads directory.
  32. Enable TLS 1.3.
  33. Disable direct access to your server IP.
  34. Always keep your server OS and other software’s updated.
  35. Enable latest security standards like HTTP/2 and HTTP/3 with QUIC.

Do I Need to Install WordPress Security Plugin?

This is not an easy to answer this question.

It depends on where you are hosting your website and what security measures are implemented.

Most important is your risk profile.

Tips for Optimal WordPress Security

Firmly believe that above tips will help you minimize loopholes so that your website is not easily hackable.

Moral of the Story

Prevention is better than cure.