O zaman cevap ta benden olsun

sitemap.php yi htaccess ile sitemap.xml yaptığınızda işinizi görüyor.
<?php header('Content-type: application/xml; charset="utf8"',true); ?>
<sitemapindex xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>https://www.siteadresi.com/sitemap.xml</loc>
<lastmod><?php $tarih=date("Y-m-d"); ?></lastmod>
</sitemap>
<sitemap>
<loc>https://www.siteadresi.com/sitemap1.xml</loc>
<lastmod><?php $tarih=date("Y-m-d"); ?></lastmod>
</sitemap>
<sitemap>
<loc>https://www.siteadresi.com/sitemap2.xml</loc>
<lastmod><?php $tarih=date("Y-m-d"); ?></lastmod>
</sitemap>
<sitemap>
<loc>https://www.siteadresi.com/sitemap3.xml</loc>
<lastmod><?php $tarih=date("Y-m-d"); ?></lastmod>
</sitemap>
</sitemapindex>