In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "how to add and customize Baidu search tools on the website". In the operation of actual cases, many people will encounter such a dilemma. Next, let the editor lead you to learn how to deal with these situations! I hope you can read it carefully and be able to achieve something!
First, why to use Baidu site search?
1. To replace Google custom search. In fact, this problem should not have been a problem when Google search could be used normally in the past. I remember that Google custom search was called in most websites a few years ago. And now, can only find a substitute, comprehensive consideration of the domestic only Baidu site search can be used.
2. Baidu intra-site search can meet the needs. At present, Baidu intra-site search has provided generating search box, setting search results display page style, supporting embedded search, one-click deployment of search codes, and so on. Baidu intra-site search also provides a second-level domain name function for customizing intra-site search. you can configure Baidu intra-site search according to your own website needs.
3. Baidu intra-site search is beneficial to improve inclusion and results clicks. Baidu site search is conducive to provide inclusion, in my opinion, it is a bit "trumped-up" feeling, before Baidu sharing, Baidu webmaster tools all said to improve the role of web pages included, after the actual use did not feel it. However, this time the official still clearly pointed out that Baidu site search can be included.
4. The above picture shows the influence mechanism diagram given by Baidu site search official. The data you submit in Baidu's intra-site search (including through plug-ins or manually submitted in the background) will not only be included by internal search, but also submitted to Baidu web search (that is, big search) for crawling. that is, in addition to the regular web search channels of large search, additional channels from on-site search are added, so as to improve the inclusion of your site by big search.
5. Structured data (such as forums, novels, game data) will also be presented in the form of rich summaries in web search, thus contributing to the increase of website traffic. Based on the above mechanism, after installing in-site search, without other influencing factors, the coverage of your site in Baidu web search will be improved, and the inclusion of some sites can be increased by 30%.
Second, Baidu site search code acquisition and installation
1. Search the official website of Baidu site:: https://zn.baidu.com
2. Log in to the Baidu site to search with your Baidu account and click "add new search engine" directly.
3. Select a basic information such as the name of the set search box and the effective scope of the search.
4. Below, you can set the appearance of the search box in the advanced style settings.
5. The search box can also open search functions such as search prompts, hot search words, word marking and so on.
6. When setting the search box, you can search the preview effect on the right side of the page at any time.
7, continue to click the next step, you can automatically generate Baidu site search code, you can also click in the search engine management to get the site search engine code at any time.
8, put the code in the location where you want to show the search box, and friends who understand CSS and JS can modify the style themselves, so that you can achieve the goal of perfecting and integrating Baidu site search.
9. Through the above method, clicking search will redirect you to the domain name searched within Baidu site. You can also bind your second-level domain name and add your own search Logo, so that users can click to search and see the domain name and Logo logo of your site.
10, Baidu site search of the "advanced features" for the search can set hot search word prompts, word search, and so on.
Third, Baidu site search results display template and style
1. In the "results page management" of Baidu site search, you can set basic information of search engine, settings at the top of the page, channel and search range settings, result style templates, industry template data submission, mobile station result optimization, and so on. Basically, the top, middle and bottom of Baidu search can be transformed in an all-round way.
2. The top of the custom page allows you to add content or navigation to the search results page, such as adding the head of your own website to the search results page, so that users can see the search results on their own site content instead of coming out alone.
3. The channel and search scope settings are mainly used to facilitate the websites of those novels, movies, forums and other industries, and the main role is to show a more colorful content effect in the search results.
4. However, in order to achieve the above effect, you need to submit your own website industry template data first, so that Baidu site search can show more results.
IV. Other
1. Results page advanced settings
Log in to the search backend on the site, and select "results Page Management"-> "results Page style and Features"-> "basic Information", as shown below:
Search domain name: set the domain name of the results page to the domain name you want to display
Fill in the registered and correct domain name from cname to zhannei.baidu.com in the following location. It is recommended to enter a new secondary domain name so as not to affect the existing services of your site. If you fill in a domain name that is not cname, it will cause an error when jumping from the search box to the results page.
two。 Related search
The related search function will recommend the relevant articles in the site for the user after reading the web article. The use of search technology to recommend relevant articles ensures the relevance of the articles; there are currently three styles to choose from (including the wapside).
Information message type: suitable for any information site, with picture and text information, and excellent WAP adaptation effect.
This is the end of the content of "how to add and customize Baidu intra-site search tools on the site". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.