Support » Fixing WordPress » Securing plugins directory: index.php or .htaccess?

  • I replaced the index.php in the wp-content/plugins directory with a one-line .htaccess file:

    Options All -Indexes

    Is this this safer than the index.php file:

    <?php
    // Silence is golden.
    ?>

    I’ve heard either will work. Other thoughts?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Securing plugins directory: index.php or .htaccess?’ is closed to new replies.