How to protect your .htaccess file?

For security purpose we recommended you to prevent access to your .htaccess file from unauthorized access.

Add this code to your .htaccess file:

# .htaccess protection

order allow,deny
deny from all
satisfy all

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to login to cPanel

Your browser does not support the video tag.

How to change your cPanel password

Your browser does not support the video tag.

How to change the primary language in cPanel

Your browser does not support the video tag.

How to add a record with the DNS Zone Editor in cPanel

Your browser does not support the video tag.

How to add an MX entry in cPanel

Your browser does not support the video tag.