WordPress.org

Ready to get started?Download WordPress

Forums

Autoptimize
[resolved] Exclude directories (2 posts)

  1. polyfade
    Member
    Posted 3 months ago #

    With autoptimize it's possible to exclude single css and js files, but is it possible to exclude entire directories?

    https://wordpress.org/plugins/autoptimize/

  2. Frank Goossens
    Member
    Plugin Author

    Posted 3 months ago #

    yes, but make sure the directory-name would not match other inline code or external files as well. excluding "css" for example might be too much, where "/wp-content/plugins/cssthingie/css/" would be better.

    hope this helps,
    frank

Reply

You must log in to post.

About this Plugin

About this Topic