Baidu Spider

What is Baiduspider and How to Manage It in 2019

An important factor to consider when managing website search engines are website crawlers. Search bots or “spiders” regularly visit your pages and depending on what they find, they decide how to rank your content on search results.

Even though every search engine automatically sends spiders to your pages, you still have some control over how they will interact with your website. Therefore, it is important to manage spider settings correctly in order to have a positive effect on your SEO.

When running a website in China, or in the Chinese language, you will deal with the Baidu Spider bot. Although similar to Google Spider, it is important to understand the differences of the Baiduspider bot and how to block it. As well as how to leverage it in a way that will boost your website performance.

baidu spider how to deal with it

What Is Baiduspider?

Baiduspider is the official name of the crawling spider used by Baidu, the most important search engine in China.

As you probably know, Google doesn’t work in China. Therefore, this Baidu robot is needed when targeting the Chinese market.

How Baiduspider Works

As with any other search engine crawler, Baiduspider is an automated software that regularly checks the content of your website to collect information that will then be used to index your pages in the search engine database.

Every time Baiduspider visits your pages it will look for specific information such as the structure of your pages, quality of content, content updates, keywords, and so on. The crawling process is divided into two steps: 1) the spider crawls the page and puts it in storage and 2) it creates a list of links on your page to be checked later.

With the data collected, Baidu will rank your content. A webpage is placed on the top of the search results if Baiduspider deems it valuable, or it will be downgraded if the content doesn’t meet Baidu’s guidelines.

Likely, you neither want, nor need, the Baiduspider to visit all your pages. Therefore, you need to understand both how to block Baiduspider and how to make it like your content.

Many webmasters wonder if Baiduspider crawls Chinese websites only, or if it also crawls websites outside of China.

To answer this question, keep in mind that Baiduspider bot works exactly like any other visitor to your website. Therefore, if a user in China can access your website, the Baidu robot will too. Of course, when Baidu crawls an overseas website with high page rendering time or latency, the overall ranking will certainly be low, and you will not be visible in China. For this reason, if your target is the Chinese market you must have your website hosted in China.

Baiduspider user-agents

To collect information, Baiduspider bot uses different agents. You will find a list of them here divided by scope:

Baidu’s Product Name

Baidu’s User Agent

Baidu Web/Mobile Search


Baidu Image Search


Baidu Video Search


Baidu News Search


Baidu Bookmark Search


Baidu Business Search


Baidu Union Search


Should I Allow the Baiduspider to Crawl My Site?

If you are targeting the Chinese market, you must absolutely let Baiduspider crawl your website. Moreover, you need to understand the basic guidelines set by Baidu to ensure that your pages are indexed properly. We will consider this topic in the next section “How to Rank Higher on Baidu.”

However, if you are not interested in the Chinese market, you must prevent the Baiduspider bot from crawling your website to save bandwidth that you want available for real users. Later, in this article, we will explain how to block the Baidu Spider bot.

How to Rank Higher on Baidu?

SEO campaigns in China must comply with Baidu requirements that are in some ways like Google’s standards, yet there are many differences.

For instance, websites hosted overseas do not perform well in China. This is due to strict surveillance by the government. They approve all content before making it available inside China. Therefore, unless your website is hosted in China, pages will load slowly. As is true in the western world, a slow website will always be penalized both by search engines and users.

Since speed is such a critical factor, it is highly advisable to implement a Content Delivery System (CDN) on your website. A CDN will play a major role in speeding up your website in China due to the size of the country. With a CDN, your user will have access to your content from the fastest server closest to their position. This will reflect positively when Baiduspider visits your website.

Other major differences are connected to the homepage of your website. Baidu focuses significantly on the homepage, whereas for Google, internal pages are more relevant. Additionally, on Baidu, fresh content is more important than long, in-depth articles.

baidu seo

These are just some of the tricks that will help you rank higher on Baidu. However, if you want to boost your website performance in China, we suggest you read our extensive guide on “How to Do SEO in China.”

Reasons for Blocking Baiduspider

The only reason for blocking Baiduspider is if you aren’t interested in targeting the Chinese market. In this case, it is best to block the spider. Thus, you will avoid wasting precious bandwidth that can be used by your visitors and not needlessly slow down your website.

However, even when you are working with the Chinese audience, there may be times when you will want to block the Baiduspider. You may decide that some pages on your website are not relevant and you don’t want them to be ranked. For instance, author pages, tags, and so on. In this case, you will need to block the Baiduspider bot from these specific pages.

How to Block Baidu Spider

To prevent Baiduspider from crawling your website you need to create a robots.txt file. You may use this file to block Baiduspider across the whole website, or only selected pages.

These are some examples of the robots.txt you can use:

  • To prevent Baidu from crawling throughout the whole website:
    User-agent: Baiduspider

   Disallow: /

  • To prevent Baidu from crawling video:
    User-agent: Baiduspider-video

   Disallow: /

  • To prevent Baidu from crawling images:
    User-agent: Baiduspider-image

   Disallow: /

Some users dislike that despite having added the robots.txt file, Baidu may pass over it and continue crawling the website. Other users report that Baidu can be quite aggressive in crawling their website and have experienced problems with the Baidu bot visiting their website too often and too intensively.

If this is the case, and you are not targeting the Chinese audience, you must block the Baiduspider and prevent its crawling from affecting your website speed performances negatively.

In addition to adding the robots.txt, another way to solve this problem is to try banning the Baidu Spider IP on your server domain. This operation may require some time since the search engine uses multiple Baiduspider IPs.

This is a list of some of the many Baidu Spider IPs:

Another option, if you have PHP on your web server, is to set it to make Baidu wait up to 999 seconds for each page request.

In addition to that, if you want to prevent Baidu from showing a snapshot of your pages, you can use the following meta tag: <meta name=“Baiduspider” content+”noarchive”>


After reading this guide you are in the best position to deal with Baidu Spider bot. This is a critical step in your SEO strategy in China.

As we explained, understanding how Baidu crawls your website is important when deciding which pages you want to be indexed, and which pages you do not. Moreover, understanding which elements of your website are inspected by Baiduspider will help you to optimize your resources to achieve better positioning in the Baidu search results.

If you need assistance in optimizing your website for the Chinese market, get in touch with our experts. QPSoftware has been actively present in the Chinese web environment for over a decade. We have helped many companies in becoming successful in China. We can assist you in optimizing your website for Baidu, creating social media campaigns in China, and using all the marketing tools necessary in the Chinese market.

Contact us and our experts will explain how to make your website presence stand out in China.

QR code for this page URL


Share this article
to spread your knowledge

About Us

Built on a philosophy of talented people and great results, QPSoftware LTD is a results-driven, full-service digital agency in Shanghai specializing in website design, WeChat/Mobile app development and digital marketing.

Scrum Alliance     prestashop_partner_agency    drupal association organization member    

Contact us

Room 406, South building,
No. 288 Yuyao Road
Jingan District, Shanghai, China