Permit public directory listing on a WordPress site

  • SumoMe

I needed to make the directory /docs publicly available so that I could put up lecture notes for various courses there. By default you get a 403 error message when you try to access it. The fix is very simple. Add the line
Options +Indexes
to the .htaccess file in the root directory.
Could it be easier?
(Hat tip to this very useful set of tips..)

One comment on “Permit public directory listing on a WordPress site

  1. Amiable brief and this mail helped me alot in my college assignement. Thank you on your information.

Leave a Reply

Your email address will not be published. Required fields are marked *