Security tests

Secure or remove readme.html

WordPress readme.html can disclose your core version. Check it, then remove or block it manually.

The default readme.html file in the WordPress root is often publicly reachable and can show which WordPress version you run. Attackers use that signal when mapping known exploits. There are other ways to fingerprint WordPress, but removing or blocking this file is still a worthwhile hardening step.

Security Ninja’s security tests include a check for whether readme.html is accessible over HTTP on the default location.

Check if it is public

Open https://yoursite.com/readme.html. If you see the WordPress readme page, the file is publicly reachable. That is what the security test flags.

Fix manually

  1. Connect via FTP or your host’s file manager.
  2. In the WordPress root (same folder as wp-config.php), delete readme.html.
  3. Optionally delete license.txt the same way if you do not need it publicly.

You can also deny HTTP access with server rules (for example .htaccess), but deleting the file is simpler.

Note: The Pro Remove unwanted files daily cleanup targets backup and leftover files such as wp-config.php backup names and *.sql. It does not replace deleting readme.html yourself. See Remove unwanted files.

Still stuck? Get help or contact us.

Larger screenshot

Enlarged image