Focus on cloud service provider activities
Notes on website operation and maintenance

Use WPFTP plug-in to build a self built FTP graph bed to store and separate website pictures and attachment files

When we choose a mainland or Hong Kong computer room, the ping speed is really fast, but if we use it for the later stage of the website, because the pictures and attachments in the content are also in the cloud server with the website data, the opening speed will be slow. Why do we see that some users use 1M bandwidth servers to open websites faster? Lao Zuo also mentioned in the previous WordPress object storage plug-ins, mainly because these netizens have tuned their own performance while using better optimized WP themes.

For example, using cache plug-ins, we can also use object storage plug-ins to separate images from websites to third-party object storage, such as AliCloud OSS Tencent Cloud COS 7N object storage Etc. But the common feature of these third-party storage is that they need to pay according to the traffic and usage. Some netizens worry that the traffic is too fast and the cost is too high. But in fact, the speed, stability and file security of third-party storage must be better. After all, they are reputable businesses.

In this article, Lao Zuo needs to introduce this WordPress plug-in, which can set our external third-party FTP space, and then separate images and attachments from the website into FTP space for corresponding storage.

First, preparations

1. FTP space preparation

If we are worried about traffic billing, we can use the FTP space opened separately in some ECS website space with fixed bandwidth. Of course, similar websites also need to configure FTP space to bind domain names. We need to prepare the directory of the FTP space, the bound domain name, and the account information of the FTP space.

2. Plug in download and activation

Plug in download: https://wordpress.org/plugins/wpftp/

We can search“ WPFTP "Then search and download plug-ins.

Second, WPFTP plug-in parameter configuration

 WPFTP plug-in parameter configuration

Fill in the WPFTP plug-in according to the FTP space account information we started to prepare. We need to test whether we can upload files to the FTP space.

There is a problem that needs to be solved here. In some Web system website environments, the FTP active transmission port is blocked, so that files cannot be uploaded to the FTP space. We need to release the port. Or some iptables firewalls need to open the corresponding ports before they can be uploaded. The virtual host FTP account can also be used for FTP space.

Domain name host preferential information push QQ group: six hundred and twenty-seven million seven hundred and seventy-five thousand four hundred and seventy-seven Get preferential promotion from merchants.
Like( zero )
Do not reprint without permission: Lao Zuo's Notes » Use WPFTP plug-in to build a self built FTP graph bed to store and separate website pictures and attachment files


Scan the code to follow the official account

Get more news about webmaster circle!
Entrepreneurship, operation and new knowledge