PHP code to write out sitemap.xml

Status
Not open for further replies.

rembrandt

New member
Jun 26, 2006
272
1
0
Australia
A guy I met was telling me you can write a php script to generate a dynamic sitemap.xml file for Googles robot. I know a bit of php, not a guru but was wondering if anyone has any ideas on how to start this off.

My first question is how would you tell a php file that the xml file is being requested so that you can then generate the xml file.

Let me know if i'm way of track here.
 


Status
Not open for further replies.