
Originally published: 2016-10-02
Technical review: 22 October 2026
Seeing “Index of /” usually means the server is listing files in a directory. It is not itself an application error code. In Apache, a default index file and an automatically generated directory listing are separate behaviours.
The expected start file may be missing from the correct document root, or configuration may expect a different filename. If directory listing is enabled, the server can generate a file list. See DirectoryIndex for index files and mod_autoindex for generated listings.
Options -Indexes disables automatic listing. Back up the existing file first; roll back and consult the administrator if an error occurs.No. Someone who knows a filename may still access it directly. Keep database dumps, private keys and backup archives outside the web root; rotate secrets exposed accidentally. A 403 or 404 can be appropriate. Do not return 200 for every request merely to hide an error.
For document-root or application setup assistance, check the support scope of your web hosting or WordPress hosting service.