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…
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…
Sometimes you need to hide your site entirely from unauthorized visitors — for example, during active development or staging. The quickest and most reliable way to do this is with HTTP Basic Authentication using .htpasswd and .htaccess.