How to prohibit Baidu from including certain pages and pictures? Below is Shangpin ChinaWebsite construction companyLet's share:
The meta robots tag is a kind of tag in the head part of a page, and it is also a command used to prohibit search engines from indexing page content.At present, Baidu only supports nofollow and noarchive
Nofollow: Forbid search engines from following links on this page
If you do not want the search engine to track the links on this page and do not transfer the weight of the links, please put this meta tag in the<HEAD>section of the page:<meta name="robots" content="nofollow"> If you don't want Baidu to track a specific link, Baidu also supports more precise control, please write this mark directly on a link:<a href="sign in. php" rel="nofollow">sign in</a> To allow other search engines to track, but only prevent Baidu from tracking the link of your page, please put this meta tag in the<HEAD>part of the page:<meta name="Baiduspider" content="nofollow">
Noarchive: Prevent search engines from displaying web snapshots in search results
To prevent all search engines from displaying snapshots of your website, please put this meta tag in the<HEAD>section of the page:<meta name="robots" content="noarchive"> To allow other search engines to display snapshots, but only prevent Baidu from displaying them, please use the following tags:<meta name="Baiduspider" content="noarchive"> Note: This mark only prohibits Baidu from displaying the snapshot of the page. Baidu will continue to index the page and display the summary of the page in the search results.
Methods to prohibit Baidu Image Search from including certain images
At present, Baidu Image Search also uses the same spider as Baidu Web Search. If you want to prohibit the Baiduspider from grabbing all images on the website, or prohibit or allow the Baiduspider to grab image files in a specific format on the website, you can set robots to achieve this:
Baiduspider is prohibited from grabbing all pictures on the website Only web pages are allowed to be crawled, and no pictures are allowed to be crawled.