Automatic PHP sitemap

Post Reply
User avatar
Rksk
Major
Major
Posts: 730
Joined: Thu Jan 07, 2010 4:19 pm
Location: Rathnapura, Sri Lanka

Automatic PHP sitemap

Post by Rksk » Thu Mar 04, 2010 3:49 pm

There is a Automatic sitemap generating php script for free.

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.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:
php sitemap.zip
(5.78 KiB) Downloaded 281 times
Post Reply

Return to “PHP & MySQL”