Sitemaps for PHP sites?

Discussion in 'Google Sitemaps' started by fatabbot, Jan 21, 2007.

  1. #1
    How does one keep a sitemap up to date when new pages are created everyday and when other pages can change?
    Is it necessary to generate a new sitemap everyday, or how does it work?
     
    fatabbot, Jan 21, 2007 IP
  2. websitetools

    websitetools Well-Known Member

    Messages:
    1,513
    Likes Received:
    25
    Best Answers:
    4
    Trophy Points:
    170
    #2
    It is probably the most surefire / best way. However, if you are usng e.g. Wordpress or some CMS that always knows (from a DB) what pages exist, you may be able to find a specific script for that.
     
    websitetools, Jan 21, 2007 IP
  3. Richie_Ni

    Richie_Ni Illustrious Member

    Messages:
    10,721
    Likes Received:
    1,175
    Best Answers:
    0
    Trophy Points:
    410
    #3
    General speaking,yes!
    But some CMS's like Wordpress has a plugin that it will generate a new one automatically.
     
    Richie_Ni, Jan 21, 2007 IP
  4. p2y

    p2y Well-Known Member

    Messages:
    581
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    123
    #4
    i ve wrote a script that exactly does that :) now im @ net-cafe(escaped from school :p) when i arrive home , i ll pm you :)
    cheers
     
    p2y, Jan 21, 2007 IP
  5. hhheng

    hhheng Banned

    Messages:
    2,633
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    0
    #5
    My suggestion is not. If you have a lot backlinks, you don't need a sitemap file. Google can crawl dynamic urls generated by php, no need to spend a lot of time on sitemap to instruct it to crawl the newly updated urls.
     
    hhheng, Jan 22, 2007 IP
  6. fatabbot

    fatabbot Well-Known Member

    Messages:
    559
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    138
    #6
    Why do you think so ? I have many pages not spidered yet.
    Google created that sitemap feature for some reason.
     
    fatabbot, Jan 22, 2007 IP
  7. adverlicious

    adverlicious Peon

    Messages:
    37
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I also disagree with this advice, especially when most modern CMS apps (like my Drupal) can create XML site maps automatically.

    The XML sitemap, done right, gets new pages crawled quickly, highlights old pages with revisions, and leaves old pages "as is". Getting new and revised pages crawled is obviously a win, but saving bandwidth by not crawling old pages also helps.

    Given the adoption by Google, Yahoo!, and others of this tool, I see little/no downside and much upside. Even if you have to create a new one manually once a week, go for it ;)
     
    adverlicious, Jan 24, 2007 IP
  8. Tearabite

    Tearabite Prominent Member

    Messages:
    4,629
    Likes Received:
    429
    Best Answers:
    0
    Trophy Points:
    300
    #8
    i agree, an updated sitemap is important.. it will help point the G-Spider to the new stuff, and not waste time on old, unchanged stuff.
    I use Drupal which as a module for generating a dynamic, always-up-to-date sitemap. I think this is one of the things that helped contribute to my site's success..
     
    Tearabite, Feb 3, 2007 IP