I entered a website today and wanted to click on Baidu snapshot to view the content (my Internet speed is relatively slow and I am used to viewing content through snapshots). The result was that the webpage did not allow Baidu to create snapshots. So I checked how to prevent Baidu from creating snapshots, and I summarized it as follows:
Add the following code to the head of the page:
This code is a meta tag, content=noarchive means not to create a snapshot, name=baiduspider means which search engine spider is targeted, here baiduspider refers to Baidu spider. This method can completely prohibit Baidu from creating web page snapshots.
Many people will be concerned about this issue:
If a website prohibits the creation of snapshots, I will exchange friendly links with him, so that the other website will pass on the weight of the website to me ?
The answer is yes.
Just because the website does not allow the creation of snapshots does not allow crawling by search engine spiders.
The spider will crawl, and the weight will be transferred to those that can be crawled.
So there will be no adverse effects in exchanging friendly links with such websites.
The above is the detailed content of How to prohibit Baidu from creating Baidu snapshots. For more information, please follow other related articles on the PHP Chinese website!