Baidu Sitemap Plugin Not Available After Changing Domain

Publish: 2014-12-07 | Modify: 2017-06-21

Changing Domain Name and Fixing Baidu Sitemap Plugin Issue

It has been almost two months since I changed my blog's domain name, and the major search engines have already fully recovered their index. The Baidu official structured data plugin (Baidu sitemap) played a certain role in this process. However, some friends may have noticed that after changing the domain name, the plugin stopped working properly. It continued to submit the old data and did not submit any new data.

This issue is caused by the Baidu structured data plugin for WordPress writing to the database. When you change the domain name, the data table still contains the old domain name's data. Therefore, we need to clear or delete two data tables: wp_baidusubmit_sitemap and wp_baidusubmit_urlstat.

Step 1: Disable the Baidu sitemap plugin

First, go to the WordPress backend and disable the Baidu structured data plugin (Baidu sitemap).

Baidu Sitemap

Figure 1-1: Baidu Sitemap

Step 2: Clear or delete the tables in phpMyAdmin

Log in to phpMyAdmin and select the two tables: wp_baidusubmit_sitemap and wp_baidusubmit_urlstat. Clear or delete these tables.

Delete Tables

Figure 2-1: Delete Tables

Step 3: Re-enable the Baidu sitemap plugin and verify

After completing the above steps, the Baidu structured data plugin will start automatically submitting the website content again. This process will not have any impact on the website. Please proceed with confidence. Additionally, I directly deleted the two tables mentioned above. After re-enabling the plugin, they will be regenerated. This is equivalent to a complete reinstallation of the plugin. I hope this solution helps those who encounter this issue.


Comments