Title: Exclude PDFs from Bulk Optimization
Last modified: January 10, 2022

---

# Exclude PDFs from Bulk Optimization

 *  Resolved [danpw](https://wordpress.org/support/users/danpw/)
 * (@danpw)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/exclude-pdfs-from-bulk-optimization/)
 * We’re using this plugin in combination with the Imagify | Skip PDF Auto-Optimization
   helper.
 * The helper says it’s for preventing the optimization of PDFs when they’re uploaded.
 * We’re hoping to prevent optimization of PDF files when we run the bulk optimizer.
   Will this helper prevent PDF optimization when bulk optimizing?
 * If not, is there a way to exclude PDFs when running the bulk optimizer?
 * Thanks!

Viewing 1 replies (of 1 total)

 *  Plugin Author [WP Media](https://wordpress.org/support/users/wp_media/)
 * (@wp_media)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/exclude-pdfs-from-bulk-optimization/#post-15237183)
 * Hi [@danpw](https://wordpress.org/support/users/danpw/),
 * This is Joseph from Imagify, and I’ll gladly assist you here!
 * At the moment, this helper only prevents auto-optimization from happening for
   PDF files. Unfortunately, if you run the Bulk Optimizer, PDFs will still get 
   optimized, even with this plugin installed.
 * We are considering adding a filter or creating another helper plugin to allow
   specific file types to be excluded from bulk optimization, but for now, it’s 
   not possible.
 * What you could do instead, is not upload your PDF files to your Media Library.
   You could instead use an FTP program to upload them to another folder you create,
   such as:
 * /wp-content/uploads/pdf/
 * Though the folder could be whatever you’d like. By default, Imagify will only
   optimize images and PDFs in your Media Library. If other folders on your server
   are not directly added in the “Custom Folders” section of your Imagify plugin
   settings page, then the bulk optimizer will not optimize images or PDFs in those
   folders.
 * Not a perfect solution, I do realize, but it could be a way forward for you.
 * Best regards,
    Joseph

Viewing 1 replies (of 1 total)

The topic ‘Exclude PDFs from Bulk Optimization’ is closed to new replies.

 * ![](https://ps.w.org/imagify/assets/icon-256x256.gif?rev=3452959)
 * [Imagify: Optimize Images for Top Speed (Compress & Convert to WebP/AVIF)](https://wordpress.org/plugins/imagify/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/imagify/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/imagify/)
 * [Active Topics](https://wordpress.org/support/plugin/imagify/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/imagify/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/imagify/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [WP Media](https://wordpress.org/support/users/wp_media/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/exclude-pdfs-from-bulk-optimization/#post-15237183)
 * Status: resolved