Skip to content

Instantly share code, notes, and snippets.

@vijujohns
Last active August 29, 2015 14: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 vijujohns/66962cbe786712b96d05 to your computer and use it in GitHub Desktop.
Save vijujohns/66962cbe786712b96d05 to your computer and use it in GitHub Desktop.
disable access to readme.html , licence.txt , wp-config-sample.php http://www.wppicker.com/wordpress-security-remove-version-number-from-meta-generator-rss/
To block readme.html add this to .htaccess file:
<files readme.html>
order allow,deny
deny from all
</files>
Repeat it for other files as needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment