Created
January 22, 2014 13:58
-
-
Save technoknol/8559156 to your computer and use it in GitHub Desktop.
Disable Wordpress Directory Browsing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// To Disable directory browsing in Wordpress | |
// Just one line in your .htaccess file | |
// in your website ROOT | |
Options -Indexes | |
// ps : Don't remove any other lines. Just add above code at the END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment