Default File and Folder Exclusions

Infinite Uploads automatically excludes certain log, error, and temporary files and folders from sync. These items can sometimes be part of your WordPress Media Library and often change constantly, which can slow down syncing and create unnecessary background work.

These default exclusions apply even if you haven’t configured any custom exclusions.

What’s excluded automatically

Common log and error locations

  • /wc-logs/ (commonly used for logs)
  • /php-errors/
  • /logs/

Common error/log files

  • /error_log
  • debug.log

Log file name matching

  • .log (substring match)

Because .log is a substring match, Infinite Uploads will exclude many filenames that end with .log (and also any filename containing .log in the name).

Temporary folders

  • /tmp/
  • /temp/
  • Other temp-like locations (folders with similar “temp” naming patterns)

How the matching works

  • These exclusions are intended to match paths and filenames found inside your uploads directory (for example, content under wp-content/uploads/).
  • Directory exclusions (like /wc-logs/ or /tmp/) apply to everything inside those folders.
  • Filename exclusions (like debug.log or /error_log) apply wherever those files appear under uploads.
  • The .log rule is broader because it’s a substring match, not an “ends-with only” rule.

Examples

  • wp-content/uploads/wc-logs/… → excluded
  • wp-content/uploads/debug.log → excluded
  • wp-content/uploads/2026/02/something.log → excluded (matches .log)
  • wp-content/uploads/some-plugin/logs/… → excluded (matches /logs/)

Why Infinite Uploads excludes these by default

These paths are commonly used for:

  • Debug output
  • Error logs
  • Temporary processing files created by plugins

They tend to be high-churn and not media assets you want delivered via CDN.

Adding your own exclusions

If your site has other plugin-generated cache/log/temp folders under uploads/, you can add custom exclusions after your initial sync has completed (custom exclusions are not a “pre-sync ignore list”).

(See: Exclude files and folders from cloud sync.)