Plugin Details
Home / Plug-in market / Baidu URL Push
Baidu URL Push

# Baidu URL Push Plugin for BeikeShop
## Function Introduction
The Baidu URL push plugin can automatically push the urls of newly listed products and newly published articles to Baidu through the active push interface of the Baidu Webmaster Platform, accelerating the indexing speed of Baidu\'s search engine.
Main functions
- ** Automatic Push ** : New products are automatically pushed to Baidu when they are listed or new articles are published
- ** Full Push ** : One-click push for all products or all articles
- ** Push Record ** : Detailed push log records
- ** Remaining Quota Display ** : Shows the number of remaining available urls for push on the current day
## Installation Steps
Place the plugin directory under the \'plugins/BaiduPush/\' directory
2. Enable the plugin in the "Plugin Management" section of the background
3. Enter the "Baidu URL Push" Settings page and configure the site and Token
Configuration Instructions
1. Enable automatic push notifications
Once enabled, new products will be automatically pushed to Baidu when they are listed and articles are published.
2. Site domain name
Verify the site domain name on Baidu Search Resource platform, for example: \'www.example.com\'
- No need to add \'http://\' or \'https://\'
It must be a verified site
3. Access Key (Token)
The access key for push notifications applied for on the Baidu search resource platform.
** Acquisition Method: **
1. Login/baidu search resources platform (https://ziyuan.baidu.com/)
2. Add and verify your site
3. Enter "Link Submission" - "Automatic Submission" - "Active Push"
4. Copy the access key (token)
4. Automatic push options
- ** Automatic product push ** : New products are automatically pushed when they are listed
- ** Automatic article push ** : New articles are automatically pushed when they are published
## Instructions for Use
"Automatic push.
After the configuration is completed, the system will automatically push the URL in the following situations:
When new products are put on the shelves
- When a new article is published
When the product or article is updated
Push all content
1. Enter the "Baidu URL Push" Settings page
2. Click the "Push All Products" or "Push All Articles" button
3. Confirm the push operation
4. Wait for the push to complete and check the result
## API interface
Push result return format
** Successful return: **
```json
{
"remain": 99998,
"success": 2,
"not_same_site": [],
"not_valid": []
}
` ` `
"Failure return:
```json
{
"error": 401,
"message": "token is not valid"
}
` ` `
Error code description
Error code: Explanation
|--------|------|
"200" successfully pushed
400 request parameter error
401 Token is invalid or expired
"403: Site unverified or unauthorized.
500 Internal server error
## Precautions
1. ** Push Limit ** : Baidu has a daily limit on the number of push urls. Please use them reasonably
2. ** Site Verification ** : Site verification must first be completed on the Baidu Search Resource Platform
3. **URL Format ** : The URL for push notifications must be the URL of a verified site
4. ** Repeated Push ** : The same URL can be pushed multiple times, and Baidu will automatically remove duplicates