Articles on: Files Management
This article is also available in:

How to protect your htaccess file?

For security purposes, we recommend 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: 14/02/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!