WordPress Developer Ukraine, Kyiv
Disable file editing in WordPress admin dashboard

Disable file editing in WordPress admin dashboard

WordPress ships with a built-in code editor under Appearance → Theme File Editor and Plugins → Plugin File Editor that lets administrators edit PHP, JavaScript, and CSS files directly from the browser. This feature was designed for the era when WordPress was primarily a blogging tool and hosting environments made FTP the standard file management…
Protect wp-config.php and xmlrpc.php via .htaccess

Protect wp-config.php and xmlrpc.php via .htaccess

The wp-config.php file is the single most sensitive file in any WordPress installation. It holds the database hostname, database name, username, and password in plain text alongside the secret authentication keys and salts that sign user session cookies, the database table prefix, and any custom environment constants you have defined. If an attacker reads this…