Posts tagged: Security
WordPress Configuration Tricks
Many WordPress users know the wp-config.php
file as the key to the WordPress database. It is where you set the database name, username, password, and location (among other things like security keys, database prefix, and localized language).
Here’s a screenshot of wp-config.php
(aka the WordPress configuration file) for those who may not yet be familiar:
The xmlrpc.php File and Site Security
Included in the header.php
template of most WordPress themes, there is an important hook called wp_head
. This essential hook enables WordPress functions to output content to the browser in the <head></head>
area of your web pages1.
For example, in newer versions of WordPress, wp_head()
enables WordPress to output the following three lines to your theme’s <head></head>
: