Viewing 1 replies (of 1 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @affordablewebsitesdenvercom,

    You are absolutely right. WordPress does not disable directory browsing by default and some people wish to do this using the method in the URL you’ve provided.

    Firstly, download your .htaccess file and make a copy so you can restore it immediately if anything goes wrong. This should be found in the root directory of your site when accessing via FTP or your host’s file manager.

    Open it in a text/code editor of your choice. Find the line that says # END WordPress and add the following lines directly below:

    # Disable Directory Browsing
    Options All -Indexes

    Upload the new .htaccess file and overwrite the existing one.

    You should be able to visit folders like /wp-includes to verify that directory browsing is now disabled by seeing a “Page Not Found” or “Forbidden” error message.

    I hope that helps you out.

    Thanks,

    Peter.

Viewing 1 replies (of 1 total)

The topic ‘WP-includes directory question’ is closed to new replies.