WordPress.org

Forums

WP htaccess Control
Disable directory browsing - breaks WordPress (1 post)

  1. John
    Member
    Posted 1 year ago #

    Turning on the "Indexes" option under "htaccess Suggestions" to disable directory browsing causes me to immediately lose access to my WordPress site, both public and admin site. The only way to fix it is to SSH into the server and manually remove "Options All -Indexes" from the .htaccess file.

    Interestingly, I found this page that described the same action ("Options All -Indexes") to disable directory browsing, so I'm wondering if I'm doing something wrong.

    The error page I get is when simply trying to hit the home page:

    Access forbidden!

    You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.

    If you think this is a server error, please contact the webmaster.

    Error 403

    mysite.com
    Sat Aug 16 04:41:18 2014
    Apache mod_fcgid/2.3.7 mod_auth_pgsql/2.0.3

    https://wordpress.org/plugins/wp-htaccess-control/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP htaccess Control
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic