{"id":4937,"date":"2026-08-29T23:40:36","date_gmt":"2026-08-29T14:40:36","guid":{"rendered":"https:\/\/donguri3.net\/server-tech\/install-configure-converter-for-media-with-cloudflare-2\/"},"modified":"2026-08-29T23:40:37","modified_gmt":"2026-08-29T14:40:37","slug":"install-configure-converter-for-media-with-cloudflare","status":"publish","type":"post","link":"https:\/\/donguri3.net\/en\/server-tech\/wordpress-blog-seo\/install-configure-converter-for-media-with-cloudflare\/","title":{"rendered":"Installing and Configuring the WordPress Plugin &#8220;Converter for Media&#8221; (with Cloudflare Integration)"},"content":{"rendered":"<p>Here is how to install the &#8220;Converter for Media&#8221; plugin, which improves site performance by converting WordPress media files into WebP or AVIF formats, and integrate it with Cloudflare. This article provides a detailed explanation of settings that leverage the Cloudflare API to properly manage CDN caching.<\/p>\n<h2>Overview of Converter for Media<\/h2>\n<p>Converter for Media is a plugin that improves page load speeds by compressing WordPress images into lightweight formats (WebP and AVIF).<\/p>\n<h3>Benefits<\/h3>\n<ul>\n<li>Faster site speeds through image compression<\/li>\n<li>Reduced effort with automatic conversion features<\/li>\n<li>Support for WebP \/ AVIF conversion<\/li>\n<li>Cache management through Cloudflare integration<\/li>\n<\/ul>\n<h2>Installing the Plugin<\/h2>\n<ol start=\"1\">\n<li>Log in to your WordPress dashboard<\/li>\n<li>Go to &#8220;Plugins&#8221; &gt; &#8220;Add New&#8221;<\/li>\n<li>Search for &#8220;Converter for Media&#8221;<\/li>\n<li>Click &#8220;Install Now&#8221; &gt; &#8220;Activate&#8221;<\/li>\n<\/ol>\n<h2>Steps to Create a Cloudflare API Token<\/h2>\n<p>Converter for Media allows you to control the cache using the Cloudflare API. Follow the steps below to create an API token.<\/p>\n<h3>Creating an API Token<\/h3>\n<ol start=\"1\">\n<li>Log in to the Cloudflare dashboard<\/li>\n<li><span>Select the target domain &gt; Select &#8220;Get your API token&#8221; at the bottom right.<br \/>Note that the Zone ID will be required for the Converter for Media plugin settings.<br \/>\n<a href=\"https:\/\/donguri3.net\/wp-content\/uploads\/2025\/02\/44d29d2792be3bad9a9ed98c7bbb20d6-1.png\"><img decoding=\"async\" class=\"aligncenter wp-image-549 size-full\" src=\"https:\/\/donguri3.net\/wp-content\/uploads\/2025\/02\/44d29d2792be3bad9a9ed98c7bbb20d6-1.png\" alt=\"Get API Token\" width=\"434\" height=\"348\" srcset=\"https:\/\/donguri3.net\/wp-content\/uploads\/2025\/02\/44d29d2792be3bad9a9ed98c7bbb20d6-1.png 434w, https:\/\/donguri3.net\/wp-content\/uploads\/2025\/02\/44d29d2792be3bad9a9ed98c7bbb20d6-1-300x241.png 300w\" sizes=\"(max-width: 434px) 100vw, 434px\" \/><\/a><\/span><\/li>\n<li>Select &#8220;Create Token&#8221;<\/li>\n<li>Select the WordPress template under user API tokens<br \/>\n<a href=\"https:\/\/donguri3.net\/wp-content\/uploads\/2025\/02\/dda9bb331e5adc2b5a3ca1088fa71280.png\"><img decoding=\"async\" class=\"aligncenter wp-image-544 size-large\" src=\"https:\/\/donguri3.net\/wp-content\/uploads\/2025\/02\/dda9bb331e5adc2b5a3ca1088fa71280-608x1024.png\" alt=\"Select User API Token Template\" width=\"608\" height=\"1024\" srcset=\"https:\/\/donguri3.net\/wp-content\/uploads\/2025\/02\/dda9bb331e5adc2b5a3ca1088fa71280-608x1024.png 608w, https:\/\/donguri3.net\/wp-content\/uploads\/2025\/02\/dda9bb331e5adc2b5a3ca1088fa71280-178x300.png 178w, https:\/\/donguri3.net\/wp-content\/uploads\/2025\/02\/dda9bb331e5adc2b5a3ca1088fa71280.png 632w\" sizes=\"(max-width: 608px) 100vw, 608px\" \/><\/a><\/li>\n<li>Rename the token to something recognizable and click &#8220;Create Token&#8221;<br \/>\n<a href=\"https:\/\/donguri3.net\/wp-content\/uploads\/2025\/02\/486359223c22c9ae1b93f7f652f68c66.png\"><img decoding=\"async\" class=\"aligncenter wp-image-546 size-full\" src=\"https:\/\/donguri3.net\/wp-content\/uploads\/2025\/02\/486359223c22c9ae1b93f7f652f68c66.png\" alt=\"Generate User API Token\" width=\"706\" height=\"309\" srcset=\"https:\/\/donguri3.net\/wp-content\/uploads\/2025\/02\/486359223c22c9ae1b93f7f652f68c66.png 706w, https:\/\/donguri3.net\/wp-content\/uploads\/2025\/02\/486359223c22c9ae1b93f7f652f68c66-300x131.png 300w\" sizes=\"(max-width: 706px) 100vw, 706px\" \/><\/a><\/li>\n<li>Create the token and copy the displayed API key<br \/>\n<a href=\"https:\/\/donguri3.net\/wp-content\/uploads\/2025\/02\/abf92b3a4c3eeb1db239b7fb8223bddd.png\"><img decoding=\"async\" class=\"aligncenter wp-image-547 size-full\" src=\"https:\/\/donguri3.net\/wp-content\/uploads\/2025\/02\/abf92b3a4c3eeb1db239b7fb8223bddd.png\" alt=\"User API Token\" width=\"941\" height=\"524\" srcset=\"https:\/\/donguri3.net\/wp-content\/uploads\/2025\/02\/abf92b3a4c3eeb1db239b7fb8223bddd.png 941w, https:\/\/donguri3.net\/wp-content\/uploads\/2025\/02\/abf92b3a4c3eeb1db239b7fb8223bddd-300x167.png 300w, https:\/\/donguri3.net\/wp-content\/uploads\/2025\/02\/abf92b3a4c3eeb1db239b7fb8223bddd-768x428.png 768w, https:\/\/donguri3.net\/wp-content\/uploads\/2025\/02\/abf92b3a4c3eeb1db239b7fb8223bddd-120x68.png 120w, https:\/\/donguri3.net\/wp-content\/uploads\/2025\/02\/abf92b3a4c3eeb1db239b7fb8223bddd-160x90.png 160w\" sizes=\"(max-width: 941px) 100vw, 941px\" \/><\/a><br \/>\n*Note: If you forget the API key, you will need to recreate it.<\/li>\n<\/ol>\n<h2>Configuring Converter for Media (Cloudflare Integration)<\/h2>\n<ol start=\"1\">\n<li>Go to WordPress &#8220;Settings&#8221; &gt; &#8220;Converter for Media&#8221;<\/li>\n<li>Open the &#8220;CDN Settings&#8221; tab<\/li>\n<li>Enter the Zone ID from the Cloudflare token retrieval page into the Cloudflare Zone ID field, and enter the API token you just created into the Cloudflare API Token field<br \/>\n<a href=\"https:\/\/donguri3.net\/wp-content\/uploads\/2025\/02\/eb22bf7a906b7f73af3d68cd620dade7.png\"><img decoding=\"async\" class=\"aligncenter wp-image-541 size-full\" src=\"https:\/\/donguri3.net\/wp-content\/uploads\/2025\/02\/eb22bf7a906b7f73af3d68cd620dade7.png\" alt=\"Configuring Cloudflare API Token in Converter for Media\" width=\"671\" height=\"626\" srcset=\"https:\/\/donguri3.net\/wp-content\/uploads\/2025\/02\/eb22bf7a906b7f73af3d68cd620dade7.png 671w, https:\/\/donguri3.net\/wp-content\/uploads\/2025\/02\/eb22bf7a906b7f73af3d68cd620dade7-300x280.png 300w\" sizes=\"(max-width: 671px) 100vw, 671px\" \/><\/a><\/li>\n<li>Save settings<\/li>\n<\/ol>\n<h2>Web Server Configuration<\/h2>\n<p>If Rewrites do not work, configure your web server settings.<\/p>\n<p>In OpenLiteSpeed, a restart is required after configuring the Converter for Media plugin.<br \/>Check <a href=\"https:\/\/mattplugins.com\/docs\/rewrites-not-executed\">here<\/a> for other web servers.<\/p>\n<h2>5. Operation Check and Optimization<\/h2>\n<h3>Running the Conversion<\/h3>\n<ul>\n<li>After configuring, run bulk image optimization at the bottom of the General Settings tab to verify that images in the media library have been converted to WebP\/AVIF.<\/li>\n<li>Measure page load speeds using Google PageSpeed Insights or GTmetrix.<\/li>\n<\/ul>\n<h3>Checking Cloudflare Cache<\/h3>\n<ul>\n<li>Check the cache status on the Cloudflare dashboard.<\/li>\n<li>Verify whether changes are reflected using your browser&#8217;s developer tools.<\/li>\n<\/ul>\n<h2>6. Troubleshooting<\/h2>\n<ul>\n<li><strong>Images are not converted:<\/strong> Review your image format settings.<\/li>\n<li><strong>Cache is not cleared:<\/strong> Re-verify the Cloudflare API token permissions.<\/li>\n<li><strong>Display glitches:<\/strong> Check your CDN settings, as image URLs may have changed.<\/li>\n<\/ul>\n<h2>Conclusion<\/h2>\n<p>By integrating Converter for Media with Cloudflare, you can automate image optimization and cache management, thereby boosting your WordPress site&#8217;s performance. Configure the Cloudflare API properly and aim for a smooth and fast site operation!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here is how to install the &#8220;Converter for Media&#8221; plugin, which improves site performance by conver [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":1100,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"en_US","_original_post":"https:\/\/donguri3.net\/?p=540","footnotes":""},"categories":[1166],"tags":[119,118,15,14,61,10,190,128],"class_list":["post-4937","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-blog-seo","tag-cdn","tag-cloudflare","tag-litespeed","tag-openlitespeed","tag-wordpress","tag-server","tag-190","tag-128","en-US"],"_links":{"self":[{"href":"https:\/\/donguri3.net\/wp-json\/wp\/v2\/posts\/4937","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/donguri3.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/donguri3.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/donguri3.net\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/donguri3.net\/wp-json\/wp\/v2\/comments?post=4937"}],"version-history":[{"count":1,"href":"https:\/\/donguri3.net\/wp-json\/wp\/v2\/posts\/4937\/revisions"}],"predecessor-version":[{"id":4940,"href":"https:\/\/donguri3.net\/wp-json\/wp\/v2\/posts\/4937\/revisions\/4940"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/donguri3.net\/wp-json\/wp\/v2\/media\/1100"}],"wp:attachment":[{"href":"https:\/\/donguri3.net\/wp-json\/wp\/v2\/media?parent=4937"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/donguri3.net\/wp-json\/wp\/v2\/categories?post=4937"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/donguri3.net\/wp-json\/wp\/v2\/tags?post=4937"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}