Store WordPress Images on Upyun to Boost Loading Speed

upyunwordpress pluginimage hostingcdn accelerationwebsite speed
Published·Modified·

If your server bandwidth is limited, you have many images, or your server is located overseas, image loading can significantly slow down your site. Fortunately, with numerous WordPress plugins available, you can automatically upload images to Upyun and serve them via their CDN, greatly improving loading speed.

In previous articles, such as Configuring WP Super Cache with Qiniu Cloud for CDN Acceleration and Free WordPress Image Hosting with Qiniu Cloud Storage, we introduced two methods for using Qiniu Cloud to accelerate static files. While Qiniu Cloud supports mirror storage, Upyun supports FTP, each having its own advantages.

1. Download the Upyun Plugin

Plugin Download Link 1: hacklog-remote-attachment-upyun (Recommended, usually the latest version)

Backup Link: hacklog-remote-attachment-upyun.zip

The installation process is not repeated here. After enabling the plugin, you will see the following interface:

Plugin Interface

2. Create Storage Service

If you do not have an Upyun account, please visit the Upyun Official Website to register. After completing authentication, you can receive a 30GB domestic CDN traffic package. Create a cloud storage service in the Upyun backend.

Create Service Create Service

Fill in the basic storage information:

  • Application Scenario: Web Images
  • Create a new Operator: Please remember the username and password, as they will be needed later.
  • Permissions: Check all options.

Fill Information Figure 2-2: Fill in Information

Permissions

3. Configure the Plugin

When configuring the plugin, you only need to fill in the key fields shown in the screenshots below; leave other fields as default or empty.

Plugin Configuration

Important: In the "Remote Base URL" field, you must enter the acceleration domain name provided by Upyun or a domain bound to your Upyun account. Do not enter a CNAME address, or the plugin will not function correctly.

Remote URL

Domain Binding

Test

If newly uploaded media files now point to Upyun addresses and are accessible, the configuration is successful. Existing images will remain accessible, though they may not display correctly in the media library.

Test Result

Summary

Storing static files like images on Upyun not only saves server bandwidth but also improves website loading speed. Unregistered websites can use the test domain provided by Upyun. Additionally, Upyun offers one-click deployment of free Let's Encrypt SSL certificates, making it very flexible and convenient.