Skip to content

Instantly share code, notes, and snippets.

Created August 9, 2017 02:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/bc370f7917bc24d8b525589bbc6cbb46 to your computer and use it in GitHub Desktop.
Save anonymous/bc370f7917bc24d8b525589bbc6cbb46 to your computer and use it in GitHub Desktop.
WordPressをインストールした際におすすめ.htaccess
# 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