PHP Weby Directory XML Sitemap Generator
PHP Weby is a Free Directory script that can create a SEO friendly directory for you. Here’s a script that generates an XML sitemap for PHP Weby Directory.
Download
Download from http://www.aukseo.co.uk/wp-content/scripts/sitemap.txt
Instructions
1. Download the file
2. Extract from the zip file and rename to sitemap.php
3. add into the mysql_connect the location of the database normally local host, the user and password – line 16
4. add the main URL of the directory to $site – line 17 *** make sure you leave a trailing slash e.g. http://www.domain.com/ and not http://www.domain.com ***
e.g.
$con = mysql_connect(“localhost”,”database_name”,”password”);
$site = ‘http://www.my-directory.co.uk/’;
5. Upload file to the server
Versions
Version 1 – 8/12/09
Future Ideas
Correct lastmod dates for all URL’s
Integrate into backend.

Recent Comments