Securing wp-config.php file in wordpress



Securing Wordpress website is as important as building a website.Wordpress Security plays an important role in securing your website there several steps to secure Wordpress website.One of the ways is by securing wp-config.php file as it is one of the important file in Wordpress which contains details of database.

You need to edit .htaccess file of Wordpress present in the root folder:

1) Goto Wordpress folder.
2) Double-click and open the .htaccess file.
3) and paste the following code into .htaccess file and save it.

# secure wp-config.php
<files wp-config.php>
order allow,deny
deny from all
</files>


Authentication Unique Keys and Salts:

Goto to below link: 
https://api.wordpress.org/secret-key/1.1/salt/

Copy the secret keys and replace it in the wp-config.php file


Comments

Popular posts from this blog

GTA 4 | Grand Theft Auto IV Free Download | Pc Repack | Compressed

How To Remove Footer Credit From Blogger Template Without Redirecting

Filmora 9 Registration Code and License Key and Email 2021