How to use seven cow cloud storage in WordPress

Source: Internet
Author: User
Tags wordpress blog

Order: Seven cow cloud storage can easily mirror the image of the website to seven of the cow cloud storage space, directly from the cloud to return data to the user. This can greatly save the space of the website, improve the speed of website access.

Real display one-click implementation WordPress blog static file CDN acceleration. The following is the main introduction of WordPress seven of the use of cloud storage plug-in.

First, apply for the seven Qiniu storage account

First need to apply for seven Qiniu storage account, after the application, click Create Space, select the space type for the public space, submit

Second, the configuration space

Configure the space and click on a button to accelerate the site.

The image source fills in its website domain name. Confirm acceleration.

The contents of the robots.txt configuration file here are:

# robots.txt generated at Http://portal.qiniu.comUser-agent:BaiduspiderDisallow:/user-agent:sosospiderdisallow:/ User-agent:sogou spiderdisallow:/user-agent:yodaobotdisallow:/user-agent:googlebotdisallow:/User-agent: Bingbotdisallow:/user-agent:slurpdisallow:/user-agent:msnbotdisallow:/user-agent:googlebot-imagedisallow:/ User-agent:googlebot-mobiledisallow:/user-agent:yahoo-blogs/v3.9disallow:/user-agent:psbotdisallow:/User-agent : *disallow:/
Third, install "Seven cow image storage wordpress plugin"

go to Background search add Seven cow image store WordPress plugin, select Install.

After clicking Install, it is strange to let you enter the FTP user name and password (my friend said no need when installing, I am very strange).

This problem needs to be solved ....

Finally found the reason. Because Apache does not have write access to the directory, so let's enter the FTP user name and password. I landed the server and executed the following command to fix it.

Chown-r Apache/directory #将目录的权限交给apache用户 (Apache server's default user is Apache)

Install again, do not enter the FTP user name and password, see the following interface is really happy.

Four, configure the seven Qiniu storage plug-in

Enter Seven cow settings:

The seven-ox-bound domain name can be found in your space-"Space settings-" Domain name settings.

The space name of the seven cows is the space name.

Five, explain why the installation of seven Cow cloud storage plug-in, others to access your blog speed will become faster

When you install seven Cow cloud storage plug-in, seven cows will copy the static files on your website, the site images, CSS files, video files and other static resource links will be replaced with seven of the static address on the bull.

For this I have tried, I will seven cow image storage seven cow settings in the seven cow bound domain name changed to an incorrect address:

After visiting the homepage of the website, found that all the picture files and CSS files (responsible for rendering the DOM) can not be loaded, resulting in the page extremely ugly, please see:

This is the normal access to the page and after modifying the domain name of the comparison of access, you will find that if a day seven cloud storage services hang up, then your site will become ugly.

Advantages:

1, for more pictures, video a lot of sites, the use of seven Qiniu storage acceleration effect is obvious.

2, the use of technology is CDN technology

Disadvantages:

1, if the seven cattle service hangs, your site static resources can not be loaded.

2, if the picture all use seven cattle address, I will lose the image search brings latent traffic

Of course, if you think your hard disk is big enough, then you can selectively put large files (video files, large PDF files, Word documents, etc. on the CDN (Seven Qiniu Storage))

Finally, make an ad, huh ?

Attached to the seven Cattle promotion link, welcome to register.

https://portal.qiniu.com/signup?code=3lb4ijtrrok0i

How to use seven cow cloud storage in WordPress

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.