GoranStimac.com
How Can I Help
Stay Informed
Let's Connect

©2018 - 2021 Goran Štimac. All rights reserved.
v1.34_b2021-12-03

How to Easily Make the WordPress System More Secure

Each WordPress installation in the root directory of the application has a file wp-config.php to which you need to add these two lines of code to the very bottom of the file:

// SECURE WP
define( 'FORCE_SSL_ADMIN', true );
define( 'DISALLOW_FILE_MODS', true );

FORCE_SSL_ADMIN provides an administrative interface by disabling it without using the SSL protocol, thus protecting data from accidental detection.

DISALLOW_FILE_MODS secures the system by disabling any system updates, including upgrades. By enabling this option, you significantly increase the security of the application, both from errors of administration users and from problems arising from add-ons or the WordPress system itself.

Share:
Next Post

How To Create a MySql User and Assign Permissions in AWS RDS on Ubuntu Linux

Previous Post

How To Enable mod_rewrite in Apache Server on Ubuntu/Debian Linux Server

Let’s Talk About Your Needs

Contact Me