Aegisify company logo

We're Here to Help

Resources & Help Center

Search our knowledge base, view documentation, or get support. Everything you need in one place.

How do I add custom directories to Aegisify Shield malware scans?

Some sites keep code outside the standard WordPress folders, for example a private vendor library, a custom application directory, or an externally deployed plugin. Custom directories (Pro) adds those paths to malware scans.

Adding a custom directory

  1. Go to Aegisify Shield → Malware Scan → Malware Scanner → Scan Settings.
  2. Under Custom directories, click Add custom directory.
  3. Enter one valid site path per field.
  4. Click Save Changes, then run a scan.

Good candidates

  • Custom code folders used by your theme or plugins.
  • Private libraries loaded by the site.
  • Any folder that contains PHP and is reachable by the web server.

Avoid

  • Cache folders.
  • Backup archives.
  • Large generated-media folders.

These increase scan time and produce false positives without adding meaningful coverage.

Security note

Only add paths you control and understand. If you find PHP in a location you did not expect, that itself is worth investigating.

After adding a path

Run a manual scan and review the results. Code in custom locations is often unminified developer code, which can produce findings that need a quick review. Mark confirmed false positives as safe so future scans stay focused.

Requirements

Custom scan paths require an active Aegisify subscription.

Related: Scan directories selection, Full malware scan.

2026-12-01T03:49:53+00:00January 13th, 2026||

Find this article interesting, please share.