• I need to change the htaccess file to be able to display the default file listing for a folder. Right now if a folder is accessed and is does not have an index.php or index.html it just 404 on WordPress but instead I would like to list the files and folders in the folder being accessed. Anyone know how to rewrite the htaccess file to be able to do that?

Viewing 1 replies (of 1 total)
  • Thread Starter lelandmcfarland

    (@lelandmcfarland)

    Alright I got the directory listing to work if I add Options +Indexes to my file. I added htaccess password protection so that not everyone could get to the files and that is now throwing the 404 error. Anyone else come across this problem before?

Viewing 1 replies (of 1 total)
  • The topic ‘Changing the .htaccess file to allow directory listing’ is closed to new replies.