Use the OSS Upload plug-in to automatically store WordPress media files to Alibaba Cloud Object Storage OSS

888u

Last update at :2024-05-24,Edit by888u

I remember a few days ago, a blogger asked Snail whether there is any plug-in that can store WordPress media (image) files in Alibaba Cloud Object Storage OSS, so that the blog can directly retrieve the address from Alibaba Cloud Object Storage OSS to display images. Reduce the pressure on VPS (or virtual host) storage and bandwidth. Especially at present, most VPS hosts in mainland China are allocated 1Mbps bandwidth ports. It may not be stressful to run a text-only blog, but it may still be a bit of a problem to display a large number of pictures on a server with 1Mbps bandwidth ports. Today I saw a relatively practical WordPress plug-in - OSS Upload. You can directly upload images to your own Alibaba Cloud Object Storage OSS, and the file is not saved on the local server, and the display address is automatically retrieved. It is very practical. Here is a simple Introduces the use and configuration process of this plug-in.

1. Plug-in download and installation

OSS Upload was developed by @XiaoMac, a big guy from mainland China, in 2016, and the plug-in has been updated all the time. There are two installation methods. One is to directly search for "OSS Upload" on the WordPress backend plug-in management page and install it.

Another way is to download the plug-in locally and install it by uploading it to the server:

The WordPress download address is: https://wordpress.org/plugins/oss-upload/

Snail 789 alternative resource download address: https://xz.wn789.com/WordPress/oss-upload.zip

2. Plug-in setting tutorial

1. Before setting up the plug-in, we must first activate Alibaba Cloud Object Storage OSS (for tutorials on the activation and use of Alibaba Cloud Object Storage OSS, please refer to this article [Alibaba Cloud Object Storage OSS] Purchase 100G worth 121 yuan per year for 0 yuan External link storage package) and obtain the AccessKey ID and Access Key Secret information of "User AccessKey". For how to obtain it, please refer to the picture below.

2. The next step is to enable the plug-in and set it up. This is a critical step. Please read it clearly and fill in the items according to the picture prompts. Other items do not need to be filled in.

3. After completing the filling, save it and click "Test". If the prompt shown below indicates that the setting is successful.

You can also upload an image to test whether it is uploaded to the corresponding directory of Alibaba Cloud Object Storage OSS normally.

Recommended site searches: webmaster IP, registration-free space, foreign space service providers, vps for IP, US virtual host purchase, Henan registration, domain name registration website query, webmaster IP, Hong Kong's best virtual host, free space application ,

Use the OSS Upload plug-in to automatically store WordPress media files to Alibaba Cloud Object Storage OSS

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码