Secure WordPress by Preventing Directory Listing

Secure WordPress by Preventing Directory Listing

For security reasons, it’s important to make sure that people cannot navigate your /plugins/ directory.

Depending on how your server is set up, your directories may be listed for all to see when visiting those URLs. You can check on your site by visiting your plugins folder:

http://yoursite.com/wp-content/plugins/

Quick Fix:

Add a blank index.html file to this directory to secure it so that visitors see a blank page when they go there. Adding a blank index.html file to all of your folders can be time-consuming, so if you’re comfortable editing your .htaccess file, go ahead and add this one line:

# Prevents directory listing
Options -Indexes

This will secure your folders sitewide.

Free Video Why 100 is NOT a Perfect Google PageSpeed Score (*5 Min Watch) Learn how to use Google PageSpeed Insights to set realistic goals, improve site speed, and why aiming for a perfect 100 is the WRONG goal.
Tags: