1. Home
  2. Security
  3. How to protect your .htaccess file?

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

Updated on October 31, 2020

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Open Support Ticket