how to install PHP sitemap
Download and unzip the distribution into a temporary directory on your local computer. The archive contains the following files and directory structure:
autositemap/autositemap.php
autositemap/autositemap.png
autositemap/config.php.dist
autositemap/setup.php
autositemap/setup.sql
sitemap.php
urllist.php
Open the file autositemap/config.php.dist (shown below) into a text editor, and then save it as autositemap/config.php after making any changes as required for your server.
<?php
$config_baseHREF = "http://www.";
$config_databaseServer =
"localhost";
$config_databaseUsername = "";
$config_databasePassword = "";
$config_databaseName = ""
;
$config_databaseTablePrefix = ""
?>
Upload the files and directory structure to your web server.
Browse to autositemap/setup.php. The following should be displayed:
Checking database connection...PASS
Checking database selection...PASS
Checking database tables...FAIL [click here to install tables]
Click the link to install the database tables.
After installing the tables the tracking HTML will be displayed. Simply make sure that this HTML is displayed on every page of your site. The easiest way to do this is to insert the code into a common header or footer file. This completes the basic setup process.