WordPressをインストールした際におすすめ.htaccess
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
# protect htaccess | |
<files ~ "^\.ht"> | |
deny from all | |
</files> | |
# protect wp-config.php | |
Options -Indexes | |
<files wp-config.php> | |
order allow,deny | |
deny from all | |
</files> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment