Content

Protecting the critical Joomla files from being accessed directly over the web is an essential aspect of your website’s security.

Add this code to your .htaccess file in order to protect your Joomla’s configuration.php file and your .htaccessfile from direct access via web:

<FilesMatch “configuration.php”>
Order allow,deny
Deny from all
</FilesMatch>
<Files .htaccess>
order allow,deny
deny from all
</Files>

You can modify the .htaccess file of your Joomla via FTPSSH and File Manager in cPanel.

Was this article helpful to you?

Obaydullah Likhon

Leave a Reply