Welcome to WebmasterWorld Guest from 23.20.206.245

Forum Moderators: mack

Message Too Old, No Replies

Dynamic Sitemaps

Creating HTML sitemaps using PHP

     
8:04 am on Sep 25, 2008 (gmt 0)

Junior Member

5+ Year Member

joined:Aug 6, 2008
posts:135
votes: 0


Hi,

Up until now I've been using a sitemap generator to create HTML sitemaps.

As I'm adding new pages frequently this is getting a bit of a pain in the ass to update. I am thinking it would be easier to create a sitemap using an SQL query to my database so that all the links are created dynamically.

As the page would have to be in php, i'm a bit confused if I could save it with a .html extension? But then I guess the php wouldn't work... I read somewhere about outputting an XML sitemap from php, can a similar thing be done for html?

Thanks

5:27 am on Sept 29, 2008 (gmt 0)

Junior Member

10+ Year Member

joined:Apr 16, 2004
posts: 96
votes: 0


Yes, PHP is able to generate HTML code with no problem.