Title: R2 Cloud Storage
Author: jhomoura
Published: <strong>2026-يىلى 26-ئاپرېل</strong>
Last modified: 2026-يىلى 26-ئاپرېل

---

قىستۇرما ئىزدە

![](https://s.w.org/plugins/geopattern-icon/r2-cloud-storage.svg)

# R2 Cloud Storage

 يازغۇچى [jhomoura](https://profiles.wordpress.org/jhomoura/)

[چۈشۈر](https://downloads.wordpress.org/plugin/r2-cloud-storage.1.0.0.zip)

 * [تەپسىلاتلار](https://ug.wordpress.org/plugins/r2-cloud-storage/#description)
 * [باھالاشلار](https://ug.wordpress.org/plugins/r2-cloud-storage/#reviews)
 *  [ئورنىتىش](https://ug.wordpress.org/plugins/r2-cloud-storage/#installation)
 * [ئىجادىيەت](https://ug.wordpress.org/plugins/r2-cloud-storage/#developers)

 [قوللاش](https://wordpress.org/support/plugin/r2-cloud-storage/)

## چۈشەندۈرۈش

**R2 Cloud Storage** offloads your WordPress Media Library to [Cloudflare R2](https://www.cloudflare.com/products/r2/)—
an S3-compatible object storage with **zero egress fees**.

#### Why Cloudflare R2?

 * **$0 egress fees** — No cost for serving files, unlike AWS S3 ($0.09/GB)
 * S3-compatible API — Works with existing tools
 * Cloudflare CDN integration — Custom domains with global edge caching
 * Pay only for storage: $0.015/GB/month

#### Core Features (Free)

 * Automatic media offload on upload
 * URL rewriting (serve from R2/custom domain)
 * Pre-signed URLs for protected content
 * Bulk sync/migration tool
 * Responsive image (srcset) support
 * Remove local copies to save disk space
 * REST API for programmatic access
 * i18n ready (pt_BR included)

#### Modular Add-on System

Extend R2 Cloud Storage with platform-specific add-ons:

 * **WooCommerce** — Digital downloads via R2, product images, signed URLs per order
 * **LearnDash** — Course videos and materials with signed URL protection
 * **Tutor LMS** — Protected video streaming and course materials
 * **Easy Digital Downloads** — Secure digital delivery via R2
 * **MemberPress** — Protected member content via R2
 * **BuddyBoss** — Community uploads stored on R2

#### Developer Friendly

    ```
    `php
    ```

// Register your own add-on
 add_action( ›r2cs_register_addon‹, function( $manager){
$manager->register( ›my-addon‹, ›1.0.0‹, ›My_Addon_Class‹ ); });

// Generate signed URLs
 $url = r2cs()->signed_url()->generate( ›path/to/file.pdf‹,
3600 );

// Upload files programmatically
 $result = r2cs()->client()->upload_file( ›/local/
path.pdf‹, ›remote/path.pdf‹ ); `

### External Services

This plugin connects to external third-party services as described below.

#### Cloudflare R2 Object Storage

This plugin connects to the Cloudflare R2 API to upload, retrieve, and delete media
files stored in your R2 bucket. The connection is made to `https://<account_id>.
r2.cloudflarestorage.com` using your configured credentials (Account ID, Access 
Key, and Secret Key).

Data is sent whenever media files are uploaded, deleted, synced, or served via the
plugin. The data transmitted includes the file contents and metadata (object key/
path).

 * [Cloudflare Terms of Service](https://www.cloudflare.com/terms/)
 * [Cloudflare Privacy Policy](https://www.cloudflare.com/privacypolicy/)

#### R2 Cloud Storage License API

This plugin connects to the R2 Cloud Storage license server at `https://r2cloudstorage.
com/api/v1/license` to activate, deactivate, and verify add-on license keys. This
connection is only made when a user manually activates or deactivates an add-on 
license, or when a periodic license verification is performed.

The data transmitted includes: the license key, the add-on slug, and the site domain.

 * [R2 Cloud Storage Terms of Service](https://r2cloudstorage.com/terms)
 * [R2 Cloud Storage Privacy Policy](https://r2cloudstorage.com/privacy)

## ئورنىتىش

 1. Upload the plugin to `/wp-content/plugins/r2-cloud-storage/`
 2. Activate through the Plugins menu
 3. Go to **R2 Storage  Settings**
 4. Enter your Cloudflare R2 credentials (Account ID, Access Key, Secret Key, Bucket)
 5. Click «Test Connection» to verify
 6. Enable automatic offload

#### Getting R2 Credentials

 1. Log in to [Cloudflare Dashboard](https://dash.cloudflare.com/)
 2. Navigate to **R2 Object Storage**
 3. Copy your **Account ID** from the sidebar
 4. Go to **Manage R2 API Tokens**  Create API Token
 5. Copy the **Access Key ID** and **Secret Access Key**
 6. Create a bucket if you haven’t already

## FAQ

### Does this work with existing media?

Yes! Use the **Sync** tool to migrate all existing media to R2.

### Will my images break if I deactivate the plugin?

If you chose «Remove local copies», the local files are deleted. Keep backups. If
local copies exist, WordPress will serve them normally when the plugin is deactivated.

### Can I use a custom domain?

Yes. Set up a Custom Domain in Cloudflare R2 and enter it in the settings.

### Is this compatible with multisite?

Yes. Network-activate the plugin and each site can have its own settings.

## باھالاشلار

بۇ قىستۇرمىغا تېخى باھا يېزىلمىدى.

## تۆھپىكار ۋە ئىجادكار

«R2 Cloud Storage» كودى ئوچۇق يۇمشاق دېتال. تۆۋەندىكى كىشىلەر بۇ قىستۇرمىغا تۆھپە
قوشقان.

تۆھپىكار

 *   [ jhomoura ](https://profiles.wordpress.org/jhomoura/)

[«R2 Cloud Storage» نى تىلىڭىزغا تەرجىمە قىلىڭ](https://translate.wordpress.org/projects/wp-plugins/r2-cloud-storage)

### ئىجادىيەتكە قىزىقامسىز؟

[كودقا كۆز يۈگۈرتۈپ](https://plugins.trac.wordpress.org/browser/r2-cloud-storage/)،
[SVN خەزىنە](https://plugins.svn.wordpress.org/r2-cloud-storage/) تەكشۈرۈپ ياكى 
[RSS](https://plugins.trac.wordpress.org/log/r2-cloud-storage/?limit=100&mode=stop_on_copy&format=rss)
ئارقىلىق [ئىجادىيەت خاتىرىسى](https://plugins.trac.wordpress.org/log/r2-cloud-storage/)
گە مۇشتەرى بولغىلى بولىدۇ.

## ئۆزگىرىش خاتىرىسى

#### 1.0.0

 * Initial release
 * Media Library offload
 * Pre-signed URLs
 * Bulk sync tool
 * Add-on manager
 * pt_BR translation

## Meta

 *  Version **1.0.0**
 *  ئاخىرقى يېڭىلانغان ۋاقىت **2 ھەپتە بۇرۇن**
 *  ئاكتىپ ئورنىتىش سانى **10 دىن ئاز**
 *  WordPress نەشرى ** 6.0 ياكى يۇقىرى **
 *  **6.9.4** دا سىنالغان
 *  PHP نەشرى ** 7.4 ياكى يۇقىرى **
 *  تىل
 * [English (US)](https://wordpress.org/plugins/r2-cloud-storage/)
 * بەلگە
 * [cloudflare](https://ug.wordpress.org/plugins/tags/cloudflare/)[media](https://ug.wordpress.org/plugins/tags/media/)
   [offload](https://ug.wordpress.org/plugins/tags/offload/)[r2](https://ug.wordpress.org/plugins/tags/r2/)
   [s3](https://ug.wordpress.org/plugins/tags/s3/)
 *  [ئالىي كۆرۈنۈش](https://ug.wordpress.org/plugins/r2-cloud-storage/advanced/)

## دەرىجە

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/r2-cloud-storage/reviews/#new-post)

[بارلىق ئىنكاسنى كۆرسەت](https://wordpress.org/support/plugin/r2-cloud-storage/reviews/)

## تۆھپىكار

 *   [ jhomoura ](https://profiles.wordpress.org/jhomoura/)

## قوللاش

چۈشەندۈرۈشىڭىز بارمۇ؟ ياردەم لازىممۇ؟

 [قوللاش مۇنبىرىنى كۆرسەت](https://wordpress.org/support/plugin/r2-cloud-storage/)