Last update at :2024-06-15,Edit by888u
When we choose the mainland or Hong Kong computer room, the PING speed is indeed relatively fast. However, if we use it for the later stage of the website, since the pictures and attachments in the content are also stored in the cloud server with the website data, This will inevitably open slower. Why do we see that some netizens use 1M bandwidth servers to open websites faster? Snail has also been mentioned in the previous related WordPress object storage plug-ins. The main reason is that these netizens have also optimized their own performance while using better optimized WP themes.
For example, using a cache plug-in, we can also use an object storage plug-in to separate the images in the website into third-party object storage, such as Alibaba Cloud OSS, Tencent Cloud COS, Qiniu Object Storage, etc. However, one thing these third-party storages have in common is that they need to be paid according to traffic and usage. Some netizens are worried that the traffic will run too fast and the cost will be too high. But in fact, in terms of speed, stability and file security, third-party storage is definitely better. After all, it is a reputable business.
In this article, Snail needs to introduce this WordPress plug-in, which can set up our external third-party FTP space, and then separate the images and attachments in the website to the FTP space for corresponding storage.
First, preparations
1. FTP space preparation
If we are worried about traffic billing, we can use some FTP spaces opened separately in some fixed-bandwidth cloud server website spaces. Of course, like websites, we need to configure the FTP space to bind the domain name. 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 for "WPTPP" and then search and download the plug-in.
Second, WPFTP plug-in parameter configuration
Based on the FTP space account information we prepared at the beginning, fill it in the WPFTP plug-in. 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 port for FTP active transmission is blocked. In this way, files cannot be uploaded to the FTP space. We need to release the port. Or some iptables firewalls need to open the corresponding port before it can be uploaded. For FTP space, a virtual host FTP account can also be used.
Recommended site search: server rental, website virtual host space, cloud server vps, google permanently free server, virtual host trial for 30 days, foreign server rental, foreign host shopping guide, free version of ip agent, how to rent a server, free Server website,
发表评论