{Secure WP through WP-CLI}
{Such Cool Much WOW Team}
{Secure WP through WP-CLI}keyword stuffing
{Our website hackthewp.com rocks (static not WP because of security)}
{Such Cool Much WOW Team}
{Such Cool Much WOW Team}
WHAT WE DID?
1. Very Important!
Found new friends!
2. Did the job! 10 WP CLI commands to improve your WP site security
3. Secure WordPress (keyword stuffing again)
4. Built with love the website in 48h hackthewp.com with all information
wp secure all>
Executes all commands
wp secure block-access>
<where> readme.html, .htaccess, error_log, wp-config.php, nginx.conf, wp-admin/install.php, wp-admin/upgrade.php) and directories (.git, svn, cache, vendors).
wp secure block-author-scanning >
Blocks author scanning
wp secure block-php-execution>
<where>Blocking direct access and execution PHP files in themes, uploads, wp-includes and plugins
wp secure disable-directory-browsing>
Blocks file index in directories without index.php
wp secure disable-file-editor>
Kills WP editor in Dashboard
wp secure fix-permissions>
Sets file and directory permissions
wp secure integrity-scan>
Does MD5 integrity check of basic WP files and returns the list of files which might shouldn't be there
wp secure security-headers>
Scans and reports missing security headers
wp secure flush>
Removes all rules from .htaccess / nginx.conf
Code
By Aleksandar Savkovic WPAleks
Code
- 244