In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how to install a search engine on your website. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
1. Install your own search engine script
Install the Perl search engine script or the PHP search engine script. This requires you to install on the facility and run PHP or Perl scripts on your network account. Or you don't need to be able to write one. Now we often see that we can install free search engine scripts on our own websites, and we can find these free search engine Perl scripts (Perl scripts) and free PHP search engine scripts (for PHP scripts) pages.
There are generally two types of PHP or Perl search engine scripts. A related article that searches for each visitor to the entire site when calling the search engine. Others create an index of the site, and when visitors use the engine to search only the index. The former is easier to configure and use newcomers, but soon when your site becomes big and slow. The latter is more effective, but it often requires you to remember the time of each page change to re-index your site.
Installing your own search engine script, at the very least, has the following advantages:
1. You can customize what is displayed on the search results page.
two。 There are no third-party advertisements, except for those you set up yourself.
3. You can re-index your site multiple times because users need it.
4. Re-indexing your site will not increase your bandwidth utilization unless the script visits your site through HTTP.
Disadvantages include:
1. Perl or PHP support is required on the Web server.
two。 You need to use Perl or PHP scripts to dregs to configure it around. Search engine scripts are usually required than, that is, a more configuration work feedback form.
2. Use free or commercial third-party hosted search engine services
If installing PHP or Perl CGI scripts is a problem, if you like to let others handle the search engine hassle for you (not too many people will choose), you can also use one of the many free or commercially hosted search engine services. These services index your site to provide you with HTML code inserted into your page. This will reduce the load that search engines bring to your site.
The advantages of using free search engine scripting remote hosting services include:
1. You don't need the ability to run Perl or PHP scripts on Web servers.
two。 You don't have to worry about figuring out how to configure and upload Perl CGI scripts or PHP scripts.
3. In addition to configuring things such as frequency, the appearance of your site index and search results page (through a convenient web interface), you usually need such a service to plug the HTML code provided to your web page.
Disadvantages:
1. Most free services are charged with banner ads on the results page. Even if they don't, they tend to point the icon to the search results page of their site. Depending on your needs, you may find this professional derogation from your website. Many free services will have an option to pay, which will remove third-party ads levied by them and free accounts.
two。 The URL displayed in the location box of the visitor's browser may not be your website.
3. Although most services allow you to customize the search results page, and many do not provide facilities to fully control the output, you may want to decorate your site in a way that suits your site.
4. Some search engine hosting services impose restrictions on how often you are allowed to re-index your site. Some only index your site at regular intervals (such as once a week), which means that the results displayed may not be current. Therefore, you should read their document registration details carefully to ensure that you get a service that suits your needs.
5. Re-indexing a site usually requires search engine spiders to crawl your site, thereby increasing your site's bandwidth usage. This may still be a problem if you are also willing to pay a certain amount of bandwidth for this, or if you use the bandwidth you allow to limit free virtual hosts for commercial virtual hosts.
6. If the search engine host decides to stop the service, your site's search will suddenly fail to work.
3. Use the major search engines
Few people realize this, but in fact you can use some major search engines like Baidu, Sogou and other major search engines for your site, free of charge.
This approach not only has the disadvantage of using third-party remote, but also has the following additional disadvantages:
1. The frequency of re-indexing your site even if you use one of the remotely hosted search engine services mentioned above, when the limit is exceeded, you have basically blocked the indexing of major search engines to your site. This also means that search engine results are often inaccurate, and if you add a new page to your site, your site's search engine will not be able to find it.
two。 The results page has search engine ads and formats. You can use third-party search engines to remotely host services in your output with even less control.
This is the end of the article on "how to install a search engine on your website". I hope the above content can be helpful to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
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.