wp-config.php file constants scan
What It Checks
This scanner checks your wp-config.php file, especially the PHP constants. You can use the wp-config.php file to improve the security of your website by setting various security-related constants.
Why It Matters
You can use the wp-config.php file to improve the security of your website. The file contains important settings that control how WordPress behaves, including security features that can protect your site from common attacks.
What You'll See
Good Status:
- Your wp-config.php file is correct.
- A must-use plugin has been added in order to change the default value for COOKIEHASH.
Bad Status:
- The PHP constant COOKIEHASH is defined with the default value, it should be modified.
- In your wp-config.php file, the PHP constant [name] should be set.
- In your wp-config.php file, the PHP constant(s) [names] should not be set.
- In your wp-config.php file, the PHP constant(s) [names] should not be empty.
Warning:
- This fix is pending, please reload the page to apply it now.
How to Fix
Set some PHP constants in your wp-config.php file to improve the security of your website. SecuPress can automatically add the necessary security constants to your configuration file. If the file is not writable, you may need to manually edit it or contact your hosting provider.
WP-Config File