Welcome to WebmasterWorld Guest from

Forum Moderators: brotherhood of lan & mack

Message Too Old, No Replies

Dynamic Sitemaps

Creating HTML sitemaps using PHP



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

5+ Year Member


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?



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

10+ Year Member

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

Featured Threads

Hot Threads This Week

Hot Threads This Month