What it checks
Checks whether wp-content/uploads and other directories show a list of their files ("Index of /").
Check ID: external.dir_listing
These folders are opened to see whether the server shows a list of their files (“Index of /”):
wp-content/uploads/and the folder of the current year in itwp-content/,wp-content/plugins/andwp-content/themes/wp-includes/- the additional URLs and the public URLs of registered directories
What a finding means
The titles, severities and explanations below are the ones shown on the Findings screen.
| Finding | Severity | Meaning |
|---|---|---|
Directory listing is enabledlisting.enabled | Medium | Anyone can see the list of files in this directory, including backups and private uploads. |
The site could not be reached for the external checkexternal.unreachable | Info | The request failed: …. Previous results of this check are kept until the site can be checked again. |
How to fix
The recommended action shown with each finding:
- Directory listing is enabled
Disable directory listings ("Options -Indexes" in .htaccess for Apache, "autoindex off" for nginx) or ask your host. - The site could not be reached for the external check
Some hosts block requests from the server to itself (loopback). If the site works for visitors, ask your host to allow loopback requests or disable this check.
Related settings
- Settings → Checks → Enabled checks: switch “Directory listing” on or off.
- Settings → Targets → Additional URLs for external checks: other URLs on your own domain to check, in addition to the site address. The public URL of a registered directory is checked too.