Support » Plugin: Wordfence Security - Firewall & Malware Scan » Exclude files from scan – what is the format?

  • Resolved Debwork


    Thank you for WordFence & the information on the blog.

    Say, the documentation does not say what the format is for excluding files from a scan.

    For a full directory is it
    … are asterisks needed somewhere?

    This is all the documentation provided:

    Exclude files from scan that match these wildcard patterns.

    This lets you exclude certain file extensions from your scan. You can use this if Wordfence is getting stuck on large files that you know are not malicious, like certain kinds of backup files.


Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WFSupport


    If you wanted to exlude logs from being scanned you could add this
    That should catch logs anywhere as long as they are named in that format.
    If there is a particular folder you want to exclude it should be with the path to it. If you wanted to exclude the foo directory in the folder where WordPress was installed, you would add it like this.
    If foo was installed in the uploads folder you would add it like this

    Does that help?


    • This reply was modified 1 year, 11 months ago by  WFSupport.

    yes. That’s just the information I was looking for.
    thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Exclude files from scan – what is the format?’ is closed to new replies.