Website Optimizer: Installation
Step 1 – Download and Unzip Files
After downloading the Website Optimizer you need to unzip the downloaded file.
Step 2 – Edit the Configuration File
Once the files have been extracted, the next step is to edit the settings in the config.php file.
First you will need your MySQL Database connection details. This information may have been supplied by your Web Host or you may need to log into your Web Hosting Control Panel to create a Database. See Creating a Database for a tutorial.
Open config.php in your Text Editor.
Here are the Database Access Settings:
//** Database access **//
define(’DB_NAME’, ‘test’); // The name of the database
define(’DB_USER’, ‘root’); // Your MySQL database username
define(’DB_PASSWORD’, ‘5dr$54*uuytT’); // The password for the database user
define(’DB_HOST’, ‘localhost’); // In most cases you won’t need to change this value
define(’TABLE_PREFIX’, ‘mv_’); // This allows the database to be shared with other applications where there may be table name clashes
In this example I have ‘test’ as the Database Name but you should change this value to whatever the name of your Database is.
Similarly, change ‘root’ for your Database User Name and change the Password to your Database User’s Password.
The Database Host is usually ‘localhost’ but in some cases it may involve your Domain Name.
To allow sharing of the Database with other Scripts, a prefix for the Database Tables is provided. You can leave this as is or change it.
Next you need to specify your Admin Login User Name and Password:
//** User settings **//
define(’LOGIN_NAME’, ‘admin’);
define(’PASSWORD’, ‘pass’);
You can leave the login name as ‘admin’ but you must replace pass with a cryptic string of characters.
Finally, Edit some Software Settings if need be:
//** Software settings **//
define(’CURRENCY’,'$’); // Symbol used for the currency
define(’COOKIE_DURATION’,'1 month’); // Time to retain tracking data
The default currency is USD and is used when displaying the monetary value of conversions in reports.
The Cookie Duration is used to tell a visitor’s Web Browser how long to remember visiting your Web Site (assuming they have Cookies enabled). The Cookie is used in preference to their current IP Address to detect a returning visitor.
The time value is a sentence describing the duration such as 1 day, 2 months etc. If the script cannot make sense of the value that you enter it will display an error message.
When you are happy with the changes. Save the file and close.
Step 3 – Upload the Files to the Web
On your Web Site, create a Directory for the Files such as mv/ (where mv is an abbreviation for Multi-Variate).
Now upload the Files to this Directory using FTP.
Step 4 – Activate the Script
Simply enter the URL of the Script Directory in your Web Browser Address Bar e.g. yoursite.com/mv
This should cause the Installation of the Script to take place.
You should now see a message “Installation Complete!” with a reminder of your login details. You can now follow the login link and login to use the Software.
Optionally, you can now delete the file install.php.
Here is the welcome screen:
