WordPress.org

Ready to get started?Download WordPress

Forums

Anti-Malware (Get Off Malicious Scripts)
[resolved] Exclue Global Translator Cache from scan (6 posts)

  1. Pewit
    Member
    Posted 1 year ago #

    For reasons I am unable to determine, I am unable to use the Quick scan which stops with an error (lack of memory or locked file) each time.

    So I am having to use a Complete scan which is really slow (over 8 hours!) because it scans every file in the Global Translator cache (a plugin we use to provide translations).

    Global Translator caches translated words into multiple sub-folders to speed up translations and reduce the potential of being banned by the translation engine.

    I have tried adding /home/<mydomain>/public_html/wp/wp-content/gt-cache
    to the list of excluded folders but it still scans the multiple subfolders.

    How can I excluded all the subfolders?

    http://wordpress.org/extend/plugins/gotmls/

  2. Eli
    Member
    Plugin Author

    Posted 1 year ago #

    The quick scan is dependent on having a beefy server and a reasonable amount of files with no permission errors.

    You can just add gt-cache to the Exclude list. Then it will exclude any gt-cache folder in comes across.

    Aloha, Eli

  3. Pewit
    Member
    Posted 1 year ago #

    I tried adding gt-cache to the Exclude list both with and without the trailing / separated by commas (as below) but it still scanned all the folders.

    /home/<mydomain>/public_html/wp/wp-content/gt-cache/,/home/<mydomain>/public_html/wp/wp-content/gt-cache

    Does it need a wildcard to exclude subfolders as well?

  4. Eli
    Member
    Plugin Author

    Posted 1 year ago #

    The exclude list is meant to be a list of folder names not paths. So, just gt-cache will do, no slashes, home public_html or anything else. If the field only contains the single folder name gt-cache then every folder with that name in any sub-directory will be skipped.

    Aloha, Eli

  5. Pewit
    Member
    Posted 1 year ago #

    Aha - thanks for that.

    I was confused by the scanner which shows the complete path when scanning.

    Regards

    Paul

  6. Eli
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, I see how that would be confusing.

    Best of luck.

    Let me know if I can do anything else.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic