Protect your WordPress wp-config.php file with .htaccess

wp-config.php file is one of the most important file in WordPress root directory. It contains the database details and connection details like username and password. So protecting your wp-config.php file from unauthorized access is a good idea. In-order to protect your wp-config.php file from unauthorized access, simply add this code to your .htaccess file.

 
	<Files wp-config.php>
	order allow,deny
	deny from all
	</Files>

Related posts:

HTML5 page structure

HTML5 offers more powerful structure comparing to older versions of Html. There are many new …


Partner with Us

We are providing an exclusive partnership offer to individuals and companies who are interested in setting up their own web design & development company. For more information about how to partner with us, please contact us