title: PHP sitemap Index
body: <p>My sitemap is massive and I have to break it into a sitemap index which i have done and the sitemaps listed are sitmap-1.xml sitemap-2.xml etc.</p>
  
  <p>I want to have one sitemap file which is based on the sitemap number chosen ie. sitemap-1.xml will go to the sitemap file and list 1 - 30,000 links and if sitemap-2 is chosen will show 30,000 - 60,000 etc...</p>
  
  <p>How do I check which sitemap number was selected,and do i name the file?</p>