Web Design
Mobile Internet
Brand Design
Innovative
News
Encyclopedias

How to prohibit Baidu from including a page

Date:2016-04-09 Source: Shangpin China Type: website encyclopedia
Word Size: small   medium   big

How to prohibit Baidu from including certain pages and pictures? Below is Shangpin China Website construction company Let's share:

 How to prohibit Baidu from including a page

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.

User-agent: Baiduspider
Disallow: /*.jpg$
Disallow: /*.jpeg$
Disallow: /*.gif$
Disallow: /*.png$
Disallow: /*.bmp$

Only allow Baiduspider to crawl web pages and. gif format pictures
Web pages and gif images are allowed to be crawled, but not allowed to be crawled

Other format pictures

User-agent: Baiduspider
Allow: /*.gif$
Disallow: /*.jpg$
Disallow: /*.jpeg$
Disallow: /*.png$
Disallow: /*.bmp$

Only Baiduspider is prohibited from grabbing. jpg pictures

User-agent: Baiduspider
Disallow: /*.jpg$





Please contact our consultant

+86 10-60259772

Please provide your contact number. The project manager of shangpin China will contact you as soon as possible.