Hi there!

I am a newbie regarding sitemaps. I have to develop a sitemap for my website, which is developed in PHP and using URL rewritting. So for example, when the user requests www.mywebsite/myaccount, Apache Server is rewritting to www.mywebsite/user.php.

Besides, there are no .html files, all is developed in php files like “header.php”, “footer.php” etc..

How can I implement a sitemap generator in php?

I have searched in the web but found nothing.

Thanks a lot!