Entropy Search

cPanel includes a small Search function that will allow your visitors to find information on your website quickly. From the CGI Center, under Entropy Search, click Setup Search Engine.

cPanel will show a sample search box, and the HTML code that creates it. This search box is functional and will search your site's files.

  • note Note: Entropy Search only works with static files. It is not designed to work with scripts, including PHP.

To add a search box:

  • Copy the text beginning with <form> and ending with </form> and paste it into the web page where you want the search box to appear.

If you’re comfortable working with HTML and you would like to change the appearance of the results page that visitors will see, click Edit Search Results Template. Here, you may change the background color, add a background image, and edit the title of the results page. Once you have made your changes to the HTML file, click Save.

PICK Important: Before your search box will work, you must click the Rebuild Search Index link under Entropy Search in the CGI Center. This sets up an internal list of your website’s contents, so they can be searched. It’s a good idea to click this link whenever you add new pages to your website.

PICK Remember: The larger your website, the longer the Rebuild Search Index link will take.

  • 0 Пользователи нашли это полезным
Помог ли вам данный ответ?

Связанные статьи

Simple CGI Wrapper

CGI scripts are pieces of software that can do many useful things for your website; for example,...

Random HTML Generator

If you would like to show a different fact, quote, or other piece of text every time a visitor...

Simple GuestBook

cPanel can generate a simple guestbook for your website. Guestbooks allow visitors to leave...

Advanced GuestBook

 Note: The Advanced Guestbook is a deprecated feature and may not be enabled...

Counter (Add a Counter, Clock, or Date)

You can add a "hit counter" to your website, which tells you how many times your site has been...