Answer the question
In order to leave comments, you need to log in
How to prohibit direct access not only to the category but also to the files?
Hello!
There are several categories on the site, direct access to which must be prohibited, and, accordingly, to files located in these categories. I created a .htaccess
file inside these categories and wrote in it:
order deny,allow
deny from all
allow from 127.0.0.1
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question