|
How to setup
and view search reports?
Search Keywords Reports show how much search activity
your site is getting, the top keywords that people are looking
for, and a sample of the most recent queries. To setup
and view search reports, you must select PHP search engine.

In the "Options" window, on the "Basic Options"
panel, select "PHP" script type, and check "Supports
Search Keywords Reports". You can also set password for
the report access.
PHP search engine consists of four files:
* search.php - search query page, you can edit this file to
customize the search box, or you can copy search box scripts
to other html file;
* searchresult.php - search result page, you can edit this file
to customize the search result page;
* searchfunc.php - search function scripts, do not modify it;
* searchdb.php - search engine database file, do not modify
it;
If you have selected php search engine report, there may be
two other files:
* report.php - search reports page
* search.log - search log file
To add site search to your site do the following:
1. Upload search engine files to the web server, using any FTP
client (e.g., CuteFTP).
2. run search.php to access the search query page. You can also
copy the form in search.php file to other web page to access
the search box.
To view search engine reports of your website search engine,
do the following:
1. Upload search engine report files to the web server, using
any FTP client (e.g., CuteFTP). These two files should be placed
at the same directory as search engine files.
2. Set CHMOD for search.log file as 666 (read/write for user/group/all)
3. run report.php to view search reports.
If you use the built-in FTP tool in the Composer, it will automatically
CHMOD the search.log file.
What is CHMOD?
CHMOD is to change file attributes. To active the report function
of php search engine, you must set CHMOD for "search.log"
file as 666 (read/write for user/group/all).
How to CHMOD a file?
You can use your ftp client software (e.g. CuteFTP) to CHMOD
a file, it's easy to do that.
After uploading search engine files to your ftp server, in the
server file list, right click "search.log" file, on
the popup menu, click "Properties/CHMOD" or "Attributes/CHMOD",
in the "properties" window, set "permission"
to "666". Then the attribute of file "search.log"
will be "-rw-rw-rw-".
|