MENU service case
 Website construction website design Beijing website construction high-end website production company Shangpin China
We create by embracing change
360 ° brand value__
simplified Chinese character
Simplified Chinese English

Shangpin China Joins Hands with Beisheng Internet to Create a New Chapter in Website Construction

Type: Shangpin Dynamic Learn more

How to prohibit Baidu from including a page

Source: Shangpin China | Type: website encyclopedia | Time: April 9, 2015
How to prohibit Baidu from including certain pages and pictures? Below is Shangpin China Website construction company Let'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 into the
part:
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: sign in
To allow other search engines to track, but only prevent Baidu from tracking the link of your web page, please put this meta tag into the part of the web page:

Noarchive: Prevent search engines from displaying web snapshots in search results

To prevent all search engines from displaying snapshots of your website, please place this meta tag in the part of the page:
To allow other search engines to display snapshots, but only prevent Baidu from displaying them, please use the following tags:
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$

Source Statement: This article is original or edited by Shangpin China's editors. If it needs to be reproduced, please indicate that it is from Shangpin China. The above contents (including pictures and words) are from the Internet. If there is any infringement, please contact us in time (010-60259772).
TAG label:

What if your website can increase the number of conversions and improve customer satisfaction?

Make an appointment with a professional consultant to communicate!

* Shangpin professional consultant will contact you as soon as possible

Disclaimer

Thank you very much for visiting our website. Please read all the terms of this statement carefully before you use this website.

1. Part of the content of this site comes from the network, and the copyright of some articles and pictures involved belongs to the original author. The reprint of this site is for everyone to learn and exchange, and should not be used for any commercial activities.

2. This website does not assume any form of loss or injury caused by users to themselves and others due to the use of these resources.

3. For issues not covered in this statement, please refer to relevant national laws and regulations. In case of conflict between this statement and national laws and regulations, the national laws and regulations shall prevail.

4. If it infringes your legitimate rights and interests, please contact us in time, and we will delete the relevant content at the first time!

Contact: 010-60259772
E-mail: [email protected]

Communicate with professional consultants now!

  • National Service Hotline

    400-700-4979

  • Beijing Service Hotline

    010-60259772

Please be assured to fill in the information protection
Online consultation

Disclaimer

Thank you very much for visiting our website. Please read all the terms of this statement carefully before you use this website.

1. Part of the content of this site comes from the network, and the copyright of some articles and pictures involved belongs to the original author. The reprint of this site is for everyone to learn and exchange, and should not be used for any commercial activities.

2. This website does not assume any form of loss or injury caused by users to themselves and others due to the use of these resources.

3. For issues not covered in this statement, please refer to relevant national laws and regulations. In case of conflict between this statement and national laws and regulations, the national laws and regulations shall prevail.

4. If it infringes your legitimate rights and interests, please contact us in time, and we will delete the relevant content at the first time!

Contact: 010-60259772
E-mail: [email protected]