Knowledgebase

How to protect your .htaccess file Print

  • 0

For security purposes, we recommend you to prevent access to your .htaccess file from unauthorized access.

Add this code to your .htaccess file

1# .htaccess protection
2
3 order allow, deny
4 deny from all
5 satisfy all
 
 

Was this answer helpful?

« Back

Copyright © 2026 Hostlika.com. All Rights Reserved.