Site Wide Search Engines  

Support Topics: Site Wide Search Engine: How to: Setup iSearch site wide search engine.

What you would use this for: To allow visitors to search the content of your site for specific terms.

What you need:
An FTP client (Transmit - external link)
A text editor (TextWrangler - external link)
A MySQL database (if you don't already have one setup for your site, please request one)

1. Go to http://www.isearchthenet.com/isearch/ (external link) and download the latest installation package.

2. If the installation package doesn't expand automatically, double click the isearch.zop file. This should force the compressed isearch.zip to expand into a folder called isearch (followed by a version number. Ex. "isearch2"). We will call this the iSearch folder.

3. Open the isearch2 folder and navigate to the inc folder. Inside there, you will find a file called "config.inc.php" Open this file in TextWrangler.

Once open you will see a section with the header: START OF BASIC CONFIGURATION OPTIONS. In that section you will see a few variables that you will need to change. Before making any changes, the variables look like this:

$isearch_sql_server = 'localhost';
$isearch_sql_username = 'mysqldb_user';
$isearch_sql_password = 'mysqldb_password';
$isearch_sql_database = 'mysqldb_database';

/* Administrator password. Set this to an empty string to disable to internal
* administrator password protection. Otherwise set it to a password that you
* will use for accessing the iSearch administration page.
*/
$isearch_admin_password = 'secret'; /* Change This ! */

In the first variable, "$isearch_sql_server = 'localhost';", replace "localhost" with the location of your MySql database as indicated in the e-mail "From MacHighway: Your MySQL access is set up".

In the second and third variables you will need to change 'mysqldb_user' & mysqldb_password' to reflect your MySQL username and passowrd. In almost every instance, this will be the same username and password that you use for FTP. If here is any question, refer to the email from us with the subject line "From MacHighway: Your MySQL database is setup". An example of this change is below:

$isearch_sql_username = 'YourUsername';
$isearch_sql_password = 'YourPassword';

In the fourth variable, you will need to enter the name of your database. In almost every instance, this will be your MySQL username followed by "_db".If there is any question, refer to the email from us with the subject line "From MacHighway: Your MySQL database is setup". An example of this change is below:

$isearch_sql_database = 'YourUsername_db';

In the final variable you will need to establish an administrators password for iSearch. Replace 'secret' with what you would like the admin password to be. An example of this change is below:

$isearch_admin_password = 'MyNewPassword'; /* Change This ! */

4. Using Transmit, login to your server space with MacHighway and navigate inside your public_html folder. Upload the iSearch folder.

5. Once all of the files are uploaded, open your web browser and go to http://www.yourdomainname.com/isearch2/admin (iSearch2 should be replaced with the name of the iSearch folder you uploaded was.)

6. Login using the administrator password you defined in step 3.

7. Enter your email address and homepage URL into the respective fields. The rest of the configuration options can be left as they are for now.

8. Click the "spider" button and wait until your site has been indexed.

9. Once your site has been "spidered", you can search your site by going to http://www.yourdomainname.com/isearch2 (iSearch2 should be replaced with the name of the iSearch folder you uploaded was.)

Support Topics

Blogs
Calendars
E-Commerce
Email
Form to Email
Guestbooks
Hit Counters
MacHighway Banners
Mailing Lists
Message boards and Forums
PERL
PHP & MySQL
Security
Site Wide Search Engines
Spam
SSL
Traffic Reports
Uploading / Publishing
Video
WebDAV