• Resolved azesey

    (@czlkpl123)


    I am using your plugin and I was studying one of the articles on website security and I found this code in order to protect the .htaccess file and wp-config.php,

    <Files wp-config.php>
    order allow,deny
    deny from all
    </Files>

    , but when I paste it in . The site is down, what is the reason?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @czlkpl123,

    The code you’ve provided looks consistent with what I’ve seen elsewhere, but placement within the file, or the server architecture you’re running the site on could be a factor in what’s happening.

    If you’re able to email a copy of the entire .htaccess file (including the code above) to wftest @ wordfence . com with your forum username in the subject, I will be able to look at the contents to try identifying the issue. Let me know here when you have sent it.

    Thanks,

    Peter.

    Thread Starter azesey

    (@czlkpl123)

    Thank you, it has been sent

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘.htaccess file and wp-config.php’ is closed to new replies.