{"id":965,"date":"2024-01-29T14:17:11","date_gmt":"2024-01-29T14:17:11","guid":{"rendered":"https:\/\/imagify.io\/documentation\/?p=965"},"modified":"2026-08-12T13:13:34","modified_gmt":"2026-08-12T13:13:34","slug":"how-to-avoid-pdf-optimization","status":"publish","type":"post","link":"https:\/\/imagify.io\/documentation\/how-to-avoid-pdf-optimization\/","title":{"rendered":"How to avoid PDF optimization"},"content":{"rendered":"<p>To exclude PDF files from being optimized in Imagify, both on upload and during Bulk Optimization, you can use our helper plugin or custom filter hooks.<\/p>\n<h2>Using the Imagify Skipper Helper Plugin<\/h2>\n<p>The easiest way to prevent PDFs from optimizing is by using the <strong>Imagify Skipper<\/strong> helper plugin. This plugin provides a settings page in your WordPress dashboard, allowing you to configure exclusions without editing code.<\/p>\n<ol>\n<li>Download and install the <a href=\"https:\/\/github.com\/wp-media\/imagify-helpers\/raw\/master\/optimization\/imagify-skipper\/imagify-skipper.zip\" target=\"_blank\" rel=\"noopener\">Imagify Skipper helper plugin<\/a>.<\/li>\n<li>Activate the plugin on your WordPress site.<\/li>\n<li>Navigate to the plugin settings page and select <strong>PDF<\/strong> (or any other format) to exclude it from auto-upload optimization, Bulk Optimization, or both.<\/li>\n<\/ol>\n<blockquote class=\"wp-block-quote\">\n<p><strong>Note:<\/strong> If you prefer to exclude PDFs using custom code snippets instead of a plugin, refer to our <a href=\"https:\/\/imagify.io\/documentation\/imagify-optimization-filter-hooks\/\">Imagify Optimization &amp; Filter Hooks documentation<\/a>.<\/p>\n<\/blockquote>\n<h2>Restoring Previously Optimized PDFs<\/h2>\n<p>If PDF files were already optimized prior to setting up exclusions and need to be reverted to their original state:<\/p>\n<ol>\n<li>Go to <strong>Media &gt; Library<\/strong> in your WordPress dashboard.<\/li>\n<li>Filter or search for <code>.pdf<\/code> files.<\/li>\n<li>Click <strong>Restore Original<\/strong> on individual files, or select multiple PDFs and use the Bulk Action menu to restore them. For step-by-step instructions, see the <a href=\"https:\/\/imagify.io\/documentation\/restore-images-original\/\">Restoring Images to Their Original State guide<\/a>.<\/li>\n<\/ol>\n\n\n\n","protected":false},"excerpt":{"rendered":"<p>To exclude PDF files from being optimized in Imagify, both on upload and during Bulk Optimization, you can use our helper plugin or custom filter hooks. Using the Imagify Skipper Helper Plugin The easiest way to prevent PDFs from optimizing is by using the Imagify Skipper helper plugin. This plugin provides a settings page in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-965","post","type-post","status-publish","format-standard","hentry","category-wordpress-plugin"],"_links":{"self":[{"href":"https:\/\/imagify.io\/documentation\/wp-json\/wp\/v2\/posts\/965","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/imagify.io\/documentation\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/imagify.io\/documentation\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/imagify.io\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/imagify.io\/documentation\/wp-json\/wp\/v2\/comments?post=965"}],"version-history":[{"count":4,"href":"https:\/\/imagify.io\/documentation\/wp-json\/wp\/v2\/posts\/965\/revisions"}],"predecessor-version":[{"id":1332,"href":"https:\/\/imagify.io\/documentation\/wp-json\/wp\/v2\/posts\/965\/revisions\/1332"}],"wp:attachment":[{"href":"https:\/\/imagify.io\/documentation\/wp-json\/wp\/v2\/media?parent=965"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/imagify.io\/documentation\/wp-json\/wp\/v2\/categories?post=965"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/imagify.io\/documentation\/wp-json\/wp\/v2\/tags?post=965"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}