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

  • Resolved Debwork

    (@sillymoney)



    Hello,
    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
    filefolder
    filefolder/
    /filefolder/
    … 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.

    Thanks

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

    (@wfsupport)

    If you wanted to exlude logs from being scanned you could add this
    *log
    or
    *.log
    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.
    foo/*
    If foo was installed in the uploads folder you would add it like this
    wp-content/uploads/foo/*

    Does that help?

    tim

    • This reply was modified 1 year, 9 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.