how to create a xml sitemap file from php for a site?

I have downloaded a xml file for my site from a online xml file generator site but their site is saying you have to manually udate the file after some time or by using php or asp this will be updated automatically I have download two files in php "client.php and sitemap.php". But I don’t know about php and asp and I also want to submit this in google sitemap which only accept xml format.
Please help me to how to use these two php files.


One Response to “how to create a xml sitemap file from php for a site?”

  • alphaT:

    My website index file is a php file. I used a web based sitemap generator and the sitemap produced I had submitted to google. No problem, no errors and accepted by google.

    The web based sitemap generator is resource 1. Resource 2 is a good tutorial/article on generating sitemaps. Hope this helps.

Leave a Reply