Create XML Sitemap Using PHP
Sitemaps are an easy way for webmasters to inform search engines about pages on their sites that are available for crawling. In its simplest form, a Sitemap is an XML file that lists URLs for a site along with additional metadata about each URL like when it was last updated, how often it usually changes, and how important it is, relative to other URLs in the site so that search engines can more intelligently crawl the site.So, in this tutorial we will show you how to create sitemap using PHP.You may also like create rss feed using PHP.
https://talkerscode.com/webtricks/create-xml-sitemap-using-php.php