Forums

Securing plugins directory: index.php or .htaccess? (2 posts)

  1. deko
    Member
    Posted 1 month ago #

    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?

  2. samboll
    moderator
    Posted 1 month ago #

    either way works well

Reply

You must log in to post.

About this Topic