homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

Dynamic Sitemaps
Creating HTML sitemaps using PHP

5+ Year Member

Msg#: 3751742 posted 8:04 am on Sep 25, 2008 (gmt 0)


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?




10+ Year Member

Msg#: 3751742 posted 5:27 am on Sep 29, 2008 (gmt 0)

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

Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved