{"id":8352,"date":"2025-01-27T19:54:07","date_gmt":"2025-01-28T01:54:07","guid":{"rendered":"http:\/\/blakewhittle@me.com"},"modified":"2026-03-21T20:25:35","modified_gmt":"2026-03-22T01:25:35","password":"","slug":"disconnecting-deactivating-or-deleting-the-plugin","status":"publish","type":"docs","link":"https:\/\/infiniteuploads.com\/docs\/billing\/disconnecting-deactivating-or-deleting-the-plugin\/","title":{"rendered":"Disconnecting, Deactivating, or Deleting the Plugin"},"content":{"rendered":"<!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD HTML 4.0 Transitional\/\/EN\" \"http:\/\/www.w3.org\/TR\/REC-html40\/loose.dtd\">\n<html><body><h2 class=\"wp-block-heading\" id=\"why-you-need-to-disconnect-before-deactivating\">Why You Need to Disconnect Before Deactivating<\/h2>\n\n\n\n<p>Infinite Uploads offloads your media to our cloud storage. That means new uploads only exist in the cloud, not on your web host. If you&rsquo;ve used the &ldquo;Free Up Local Storage&rdquo; feature to delete local copies of previously synced files, those files <strong>only<\/strong> exist in the cloud too.<\/p>\n\n\n\n<p>If you deactivate or delete the Infinite Uploads plugin without disconnecting first, your site will lose access to those files. Every image, video, PDF, and other media file served from the cloud will return a 404 error. Your pages, posts, and any content referencing those files will show broken images and missing downloads.<\/p>\n\n\n\n<p>After canceling your plan, your cloud files are eventually scheduled for deletion. If you haven&rsquo;t downloaded them back to your site by then, that data is gone permanently. We send multiple email reminders with instructions before any data is deleted, but the safest path is to disconnect properly before doing anything else.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"built-in-safety-checks\">Built-in Safety Checks<\/h2>\n\n\n\n<p>The plugin has built-in protection to prevent accidental data loss. If you try to deactivate or delete the plugin from the WordPress Plugins screen while your site is still connected, the plugin will block the action and redirect you to the Infinite Uploads settings page with a warning. The warning will prompt you to use the &ldquo;Download &amp; Disconnect&rdquo; button before proceeding.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"245\" src=\"https:\/\/infiniteuploads.com\/wp-content\/uploads\/2025\/01\/CleanShot-2025-01-27-at-22.43.47@2x-1024x245.png\" alt=\"\" class=\"wp-image-8474\" srcset=\"https:\/\/infiniteuploads.com\/wp-content\/uploads\/2025\/01\/CleanShot-2025-01-27-at-22.43.47@2x-980x235.png 980w, https:\/\/infiniteuploads.com\/wp-content\/uploads\/2025\/01\/CleanShot-2025-01-27-at-22.43.47@2x-480x115.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p>This also applies to bulk deactivation. If you select multiple plugins and choose &ldquo;Deactivate&rdquo; from the bulk actions dropdown, and Infinite Uploads is in that selection, the plugin will intercept the request and redirect you to the settings page.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-to-properly-disconnect\">How to Properly Disconnect<\/h2>\n\n\n\n<p>Follow these steps on each site connected to Infinite Uploads:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to the Infinite Uploads settings page in your WordPress dashboard. On single-site installs, this is under the Infinite Uploads menu item (\/wp-admin\/admin.php?page=infinite_uploads). On multisite, it&rsquo;s under Network Admin.<\/li>\n\n\n\n<li>Scroll to the bottom of the settings page to find the &ldquo;Download &amp; Disconnect&rdquo; section.<\/li>\n\n\n\n<li>Click the &ldquo;Disconnect&rdquo; button. The plugin will scan your cloud storage and begin downloading any files that don&rsquo;t already exist locally. This syncs everything back to your server&rsquo;s uploads directory. Ensure your server has enough storage to hold all your media.<\/li>\n\n\n\n<li>Wait for the download to complete. Depending on how many files you have and the size of your media library, this could take anywhere from a few minutes to several hours. Do not close the browser tab while the process is running.<\/li>\n\n\n\n<li>Once the disconnect is complete, you can safely deactivate and delete the plugin from the WordPress Plugins page.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-the-disconnect-process-does-behind-the-scenes\">What the Disconnect Process Does Behind the Scenes<\/h2>\n\n\n\n<p>When you click &ldquo;Disconnect,&rdquo; the plugin does several things automatically. It downloads any cloud-only files back to your local uploads directory. Then it runs a search and replace directly on the <code>wp_posts<\/code> table in your database, swapping all Infinite Uploads CDN URLs in your <code>post_content<\/code> with your original local upload URLs. If your site&rsquo;s CDN URL differs from the default CNAME (for example, if you set up a custom CDN domain), both URLs get replaced. This is important because while the plugin is active, it rewrites URLs on the fly through filters as your pages load. Once the plugin is deactivated, those filters stop running. The database replacement makes sure the correct local URLs are already stored in your content before that happens. After the URL replacement finishes, the plugin removes its API token, disables cloud storage mode, and attempts to flush the WordPress object cache. At that point, WordPress goes back to serving media directly from your server.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"using-wp-cli-to-disconnect\">Using WP-CLI to Disconnect<\/h2>\n\n\n\n<p>If you have WP-CLI access on your hosting environment, you can also download your files from the command line. This is especially useful for sites with large media libraries where a browser-based download might time out.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Run <strong>wp infinite-uploads download<\/strong> to download all cloud-only files to your local uploads directory.<\/li>\n\n\n\n<li>After the download is complete, use the plugin&rsquo;s &ldquo;Disconnect&rdquo; button in the WordPress admin to finalize the URL replacement and disconnect. The WP-CLI command handles the file download, but you still need to use the admin interface (or contact support) to properly update all the URLs in your database.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"disconnecting-on-wordpress-multisite\">Disconnecting on WordPress Multisite<\/h2>\n\n\n\n<p>On a WordPress multisite network, the Infinite Uploads settings page is located in the Network Admin area. The disconnect process works the same way, but applies network-wide. All subsites that were using Infinite Uploads cloud storage will have their files downloaded and URLs updated when you disconnect from the Network Admin settings page.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-happens-after-disconnecting\">What Happens After Disconnecting<\/h2>\n\n\n\n<p>After disconnecting, all your media files will be stored locally on your web server again. WordPress will serve them from your original uploads directory, and there&rsquo;s no dependency on Infinite Uploads anymore. Your cloud storage data still exists on our servers until your plan is fully canceled and the retention period ends. If you change your mind and want to reconnect, you can reinstall the plugin and connect again.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"disconnecting-vs-canceling-your-account\">Disconnecting vs. Canceling Your Account<\/h2>\n\n\n\n<p>Disconnecting a site and canceling your account are two separate actions. Disconnecting removes the link between a specific WordPress site and the Infinite Uploads cloud. Canceling your account stops your subscription billing and eventually removes your cloud data. If you have multiple sites connected, you can disconnect individual sites without canceling your entire account.<\/p>\n\n\n\n<p>To cancel your subscription, visit your account billing page at infiniteuploads.com\/account\/billing\/. For more details on the cancellation process, see the &ldquo;Cancelling Your Account&rdquo; support doc.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"if-something-goes-wrong\">If Something Goes Wrong<\/h2>\n\n\n\n<p>If the disconnect process fails partway through, don&rsquo;t panic. Your files in the cloud are still safe, and the plugin hasn&rsquo;t fully disconnected yet. You can try running the disconnect again from the settings page. If you&rsquo;re getting errors or the download keeps stalling, try using WP-CLI instead, as it handles large downloads more reliably than the browser-based process.<\/p>\n\n\n\n<p>If your site is already showing broken images because the plugin was deactivated without disconnecting first, reactivate the plugin. This will restore the cloud connection and your images should start loading again. Then follow the proper disconnect steps outlined above.<\/p>\n\n\n\n<p>If you&rsquo;ve already deleted the plugin entirely and your images are broken, contact our support team by creating a support ticket at infiniteuploads.com\/support\/. As long as your plan is still active or within the data retention period, we can help you get your files back.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-gets-removed-when-the-plugin-is-deleted\">What Gets Removed When the Plugin Is Deleted<\/h2>\n\n\n\n<p>When the Infinite Uploads plugin is deleted from WordPress (not just deactivated, but fully deleted), it cleans up after itself:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Removes its stored options from the WordPress database (API token, site data, plugin settings).<\/li>\n\n\n\n<li>Removes the scheduled sync cron job.<\/li>\n\n\n\n<li>Drops the infinite_uploads_files database table that tracks file sync status.<\/li>\n<\/ol>\n\n\n\n<p>The site ID is intentionally preserved in the database so that if you reconnect later, the system can identify your site. No media files are touched during the uninstall process. Only plugin data is removed.<\/p>\n\n\n\n<p>If you run into any issues during the disconnect process, reach out to our support team at infiniteuploads.com\/support\/ and we&rsquo;ll help you through it.<\/p>\n<\/body><\/html>\n","protected":false},"excerpt":{"rendered":"<p>Why You Need to Disconnect Before Deactivating Infinite Uploads offloads your media to our cloud storage. That means new uploads only exist in the cloud, not on your web host. If you&rsquo;ve used the &ldquo;Free Up Local Storage&rdquo; feature to delete local copies of previously synced files, those files only exist in the cloud too. [&hellip;]<\/p>\n","protected":false},"author":3787,"featured_media":0,"template":"","meta":{"_acf_changed":false,"wds_primary_doc_category":0,"wds_primary_doc_tag":0,"footnotes":""},"doc_category":[130],"doc_tag":[],"class_list":["post-8352","docs","type-docs","status-publish","hentry","doc_category-billing"],"acf":[],"year_month":"2026-04","word_count":1187,"total_views":"904","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"Blake Whittle","author_nicename":"blakew","author_url":"https:\/\/infiniteuploads.com\/blog\/author\/blakew\/"},"doc_category_info":[{"term_name":"Billing","term_url":"https:\/\/infiniteuploads.com\/docs-category\/billing\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/infiniteuploads.com\/api\/wp\/v2\/docs\/8352","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/infiniteuploads.com\/api\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/infiniteuploads.com\/api\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/infiniteuploads.com\/api\/wp\/v2\/users\/3787"}],"version-history":[{"count":0,"href":"https:\/\/infiniteuploads.com\/api\/wp\/v2\/docs\/8352\/revisions"}],"wp:attachment":[{"href":"https:\/\/infiniteuploads.com\/api\/wp\/v2\/media?parent=8352"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/infiniteuploads.com\/api\/wp\/v2\/doc_category?post=8352"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/infiniteuploads.com\/api\/wp\/v2\/doc_tag?post=8352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}