Questions about .htaccess code (1)
-
I’ve read that one way to block access to the .htaccess file is with this code:
<Files .htaccess=””>
Order allow,deny
Deny from all
</Files>I don’t understand what [ .htaccess=”” ] means. The code doesn’t seem to establish a specific reference to any .htaccess files. Can you explain it?
I’ve also read that WordPress needs write access to the .htaccess file to update it automatically. And Apache server software needs to read the .htaccess file. Will adding code to the .htaccess file to block access interfere with these functions?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Questions about .htaccess code (1)’ is closed to new replies.