Title: Exclusions Don&#8217;t Work?
Last modified: October 6, 2019

---

# Exclusions Don’t Work?

 *  Resolved [Chris Borgman](https://wordpress.org/support/users/chrisborgman/)
 * (@chrisborgman)
 * [7 years ago](https://wordpress.org/support/topic/exclusions-dont-work/)
 * Settings – Exclusions – Don’t optimize… AND Don’t lazyload…
 * When I type in “MS” I am not able to add the filter, but if I add “MS-” it works,
   so there must be an issue with only 2 letters used.
 * I suggest either noting this requirement (filter must contain at least 3 characters)
   OR, better, allow the use of 2 characters. I had to rename the files I wanted
   to exclude. Not so fun.
    -  This topic was modified 7 years ago by [Chris Borgman](https://wordpress.org/support/users/chrisborgman/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fexclusions-dont-work%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Optimole](https://wordpress.org/support/users/optimole/)
 * (@optimole)
 * [7 years ago](https://wordpress.org/support/topic/exclusions-dont-work/#post-12003554)
 * Hello [@chrisborgman](https://wordpress.org/support/users/chrisborgman/),
 * There is such a rule in place to avoid expanding the rules to unwanted files 
   also.
 * However, the rule applies to the full URL of the image, not only the filename,
   so you can extend the flag to /ms or something similar to target this better.
 * I hope this helps.

Viewing 1 replies (of 1 total)

 The topic ‘Exclusions Don’t Work?’ is closed to new replies.

 * ![](https://ps.w.org/optimole-wp/assets/icon-256x256.gif?rev=3013666)
 * [Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization](https://wordpress.org/plugins/optimole-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/optimole-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/optimole-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/optimole-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/optimole-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/optimole-wp/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Optimole](https://wordpress.org/support/users/optimole/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/exclusions-dont-work/#post-12003554)
 * Status: resolved