Tuesday, December 23, 2008

Free PHP Sitemap Generator

Sitemap contains architecture of your website information. It is one of the easiest way to publish your website information to search engine for indexing.

So when setup a new site, i can either write own sitemap generator or looking for some script to generate the sitemap, but problem is I searched through online and found out that is not much free sitemap generator script, end up i found this phpsitemapNG.

phpSitemapNG is a free Google Sitemaps generator written in PHP, but also generates RSS-based, txt-based and HTML-based sitemap files. It will spider your website and also your file system. It is easy to install and use, detail installation notes and usage guides can be found at


1. Download the current release and store it on your harddisc
2. Create a directory on your webserver (suggestion: /admin/phpsitemapng) and protect it
3. Extract this archive and copy the files to this directory on your website, copy sitemap.xml and sitemap.xml.gz into the root directory of your website.
4. Make the following files writable (chmod 0666):
* /sitemap.xml (- or /sitemap.xml.gz for compressed sitemap)
* /sitemap.txt (if you would like to write txt sitemaps files)
* settings/settings.inc.php (to store your settings)
* settings/files.inc.php - (store information about generated sitemap; only useful for small websites)
5. That's it, you can proceed with the usage of phpSitemapNG

Have Fun!

No comments: