Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi,

    I have this problem, too. And additionally the wp-minify cache-directory cannot be excluded. I also tried the other directories option, to no avail.

    /wp-content/plugins/wp-minify/cache/4661780795cf9d458a0c8e4e4ba0e549.css
    /wp-content/plugins/wp-minify/cache/9ce82f73f2f0496742c18ab22bd815ae.js

    Thanlk you for looking into this.

    Plugin Author Scott Cariss

    (@l3rady)

    It would only be disappearing from the list if the directory you are entering is invalid. You need to enter the ‘exact’ directory to be ignored including the full base dir.

    E.G.

    /home/username/public_html/wordpress/wp-content/plugins/wp-minify/cache

    Thread Starter Andy Keith

    (@andykeith)

    Hi Scott,

    Yes putting the full path in has worked. Thanks very much!

    I have another quick question if that’s ok. Can I add partial directory paths to the ‘Dir Names To Ignore’ option? E.g if I set it to ‘wp-content/uploads’, will it ignore files that contain this directory path?

    Many thanks.

    Plugin Author Scott Cariss

    (@l3rady)

    No you cannot place partial directories in any of the settings.

    You need to ignore a full path like

    /path/to/wp/wp-content/uploads

    or a folder name uploads however if you use a folder name to ignore then any folder scanned with that name is ignored. A good example of using this setting is ignoring .svn folders

    Thread Starter Andy Keith

    (@andykeith)

    I see, thanks for the info.

    I think this would be very helpful information as a notation in the plugin’s settings page next to the textarea.

    Yes, some sample paths, especially common paths:
    /home/you/public_html/wp-admin/error_log

    Plugin Author Scott Cariss

    (@l3rady)

    @flashbuddy – if you want to ignore error logs you would be better using: */error_log so that it ignores all error_logs on your site.

    > …you would be better using: */error_log so that it ignores all error_logs on your site.

    So wildcards for the path are allowed? I thought you said that only full paths will work. Some examples close to the input field would definitely help (similar to the examples close to the File Check Root field).

    Plugin Author Scott Cariss

    (@l3rady)

    Hi @jpsy,

    Yes * wildcards are allowed in paths. This was added with one of the later versions.

    So using */error_log will exclude all error log files.

    You may need to play around with settings to get the right wild card combination to get it to work. Essentially the file/dir name is checked with the function fnmatch().

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: WordPress File Monitor Plus] Cannot add 'exact dirs to ignore' in plugin settings’ is closed to new replies.