Website construction

Notes on Qiniu Cloud storage experience

Website construction

Baidu Embedded Website Search https Practice Sharing

Website construction

WP Super Cache static cache plug-in code only version (compatible with multi domain websites)

Website construction

Solve the problem that wp super cache cannot (pre) cache

Website construction

A series of troubles caused by the blocking of 443 port by telecom broadband

July 22, 2016

Simply fix the discovery of robots file vulnerabilities prompted by 360 security detection

eleven thousand four hundred and sixty-nine fifty-three
I haven't seen 360's webmaster platform for a long time, so I found that the security score was 99 instead of 100 in 360's search. I went in to have a look and found the following wonderful flower: Nani? Found robots.txt file? Is this a loophole? Continue to read the following explanation: vulnerability type: site building program of information disclosure: other server type: common programming language: other
July 13, 2016

Correct the writing of static file domain names robots, and solve the problem that Baidu Search does not display thumbnails

seven thousand five hundred and eighty-four sixty-four
Some webmasters may find that there are fewer and fewer thumbnails in the search results of search engines, or even disappear after they use 7N CDN... After many times of thinking and analysis, Zhang Ge found that it was actually caused by the use of Qiniu CDN. This article will simply share this pit. Before this, Zhang Ge's blog has twice analyzed the writing of static secondary domain robots after the website uses Qiniu CDN: new findings after the upgrade of Baidu webmaster platform robots tool How to set robots. txt after the website uses Qiniu cloud storage
June 19, 2016

Share a website anti image and js solution to solve the static page jump of Qiniu

thirteen thousand five hundred and fifty-five one hundred and twelve
Guide: As a webmaster, have you almost encountered the trouble of being mirrored by others? The most typical representative is Google Search, which everyone knows. Most of the time, people who reverse our website may just take your website to practice and learn reverse proxy. When the website is reversed and ranked better than you, do you have the impulse to go wild This article shares a simple and effective website anti mirror scheme, which is suitable for any html page. 1、 A long time ago, I saw that boke112 reprinted a website anti image tutorial, sharing three aspects from. htaccess, php and js
May 28, 2016

WordPress Baidu automatic push JS optimization to avoid errors and repeated push problems

one thousand one hundred and seventy-nine one hundred and fourteen
Guide: webmasters who pay attention to SEO and collection should all know that Baidu Search provides an automatically pushed js code that can push any web page to the search engine to speed up collection. However, this code is not simply added to the web page and everything is fine! Baidu buried pit technology, you and I understand! This article mainly shares the optimization of the automatic push JS code of the buried pit 1、 Problem description Baidu has launched a variety of collection push tools in recent years, such as structured data plug-ins, active push, automatic push js, etc. Every time Zhang Ge optimizes these things, mainly because of these
April 16, 2016

The shell script implements the whole site cache and pre cache, further improving the overall loading speed of the website

one thousand seven hundred and forty fifty-eight
In Linux, the shell script combined with the system task planning crontab can easily realize the work that can only be completed by some complex programs. The development cost is low, and it is easy to learn. Zhang Ge's blog has also shared many wonderful uses of shell in website operation before, such as CCKiller: Linux lightweight CC attack defense tool, second level check, automatic blackout and release SEO skills: shell script automatically submits website 404 dead link to search engine Linux/vps local seven day cyclic backup and seven cow remote backup script ngin
April 13, 2016

One line of code completely disables the automatic clipping function of WordPress thumbnails

one thousand and ninety forty-nine
I remember when sharing the Qiniu thumbnail tutorial on the blog, I mentioned that WordPress will cut the uploaded pictures into multiple by default, which will not only take up disk space, but also slow down the website performance, which is quite annoying! At that time, solutions were also mentioned: ① Turn off the thumbnail clipping function of the theme (if any); ② In multimedia settings, set all dimensions to 0. For details, please refer to the "Method of WordPress Simple Code to Open Seven Bull CDN and Integrate Seven Bull Thumbnails" - about picture size. Since WordPress upgraded to 4.4
March 22, 2016

WordPress publishes/updates articles, submits/reviews comments, and automatically clears the VeryCloud cache

four thousand eight hundred and seventeen forty-seven
The last article shared the tutorial of automatically refreshing Tencent Cloud CDN when WordPress published an article comment, while the blog now uses the CDN of VeryCloud. A friend just left a message at the end of the article saying that VC also has an API to refresh the cache, so he took advantage of the noon time to toss around and successfully completed it! Let's share the deployment method/*** WordPress publishes/updates articles, submits/reviews comments and automatically clears the VeryCloud CDN cache (home page, category and current articles) By Zhang Ge Blog * articles
March 5, 2016

WordPress publishes/updates articles, submits/reviews comments and automatically clears Tencent Cloud CDN cache

six thousand nine hundred and fifty-six eighty-eight
1、 The complete php code for deployment code is as follows:/* * * WordPress publishes/updates articles, submits/reviews and automatically clears Tencent Cloud CDN cache (home page and current article) By Zhang Ge Blog * Article address: https://zhang.ge/5089.html *Please keep the source of reprint, thank you for your cooperation**//* You need to fill in your key to visit https://console.qcloud.com/capi Get Secr
February 21, 2016

Solve the problem that the IE responsive solution css3-mediaqueries.js does not work

nine thousand and seventy-three thirty-nine
A few days ago, I solved the problem that the blog will fake death under the low version of IE. It was found that the closure of my custom CSS was caused by the misuse of Chinese braces! After solving this problem, another pitfall was found: the responsive blog in IE8 and below does not work. It's strange. I remember that Brother Bird solved the CSS3 responsiveness problem under IE when he updated Begin early. Why is it invalid? After looking at the source code, we found that the following code will be introduced in the head section under Begin:&lt-- [if lt IE 9]...
February 11, 2016

Share some recent improvements to the code of the external chain jump page of the website

eight thousand four hundred and forty-three one hundred and forty-four
A long time ago, I shared several codes or tutorials about the outer chain jump in my blog. If you haven't seen it, you can first learn about it: share two external chain jump methods to avoid weight loss. Share a WordPress external chain jump tutorial, which is compatible with the robin black box download and article index sharing of robin origin theme external chain jump code, compatible with the download button and the external chain on the pop-up layer. Recently, with some inspiration and other blogs have also absorbed some relevant experience, we have slightly changed the existing external chain code, which feels good. Now share it, Try what you like. Ps: No
January 30, 2016

Analysis of whether changing IP or using CDN will affect SEO ranking

nine thousand one hundred and thirty-five forty-seven
Recently, Zhang Ge's blog has been tossing and turning between Alibaba Cloud and Tencent ECS for several times. Without other gains, it has come to a question: will changing the IP address or using CDN affect SEO inclusion or ranking? I'm sorry to say that the articles published by Zhang Ge's blog in recent months have not been included. 1、 I remember that before changing the IP address, the webmaster platform shared a related article, saying that as long as users can access the page, Baidu can normally capture and include it, regardless of whether the website server is in China or abroad, and whether it is filed. The quality of Baidu's inclusion, Baidu's key
January 23, 2016

WordPress's optimization measures for Baidu Spark Plan 2.0 original protection

five thousand nine hundred and thirty-one eighty
When I was looking at Baidu webmaster platform today, I found that an article about Spark Plan 2.0 was published on January 18. After a careful look, I found it useful, so I added some code to Zhang Ge's blog, which is targeted optimization. The following is for everyone to share and recommend! 1、 When will Baidu Spark Plan? In fact, it is the first time that I have heard it, but its content must be very concerned by original blogs like mine - original protection. What are original and pseudo original mentioned in the article introduction, I don't want to become pseudo original because this article excerpts its content. So