Download

##Features

Usage

Usage is pretty strait forward:

The script can be started as CLI script or as Website. CLI is the prefered way to start this script.

CLI scripts are started from the command line, can be used with CRON and so on. You start it with the php program.

CLI command to create the XML file: php sitemap-generator.php

To start the program with your Webserver as Website change in the script the line 22 from

   define ('CLI', true);

to

   define ('CLI', false);

sitemap.xml

Add the XML file to your /robots.txt.

Example line for the robots.txt:

Sitemap: http://www.iprodev.com/sitemap.xml