How to add Google site map to wordpress blog

Discussion in 'Google Sitemaps' started by rukshankb, Jan 11, 2008.

  1. rukshankb

    rukshankb Banned

    Messages:
    1,014
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #21
    you wrong. we can add it
     
    rukshankb, Jan 26, 2008 IP
  2. ColorWP.com

    ColorWP.com Notable Member

    Messages:
    3,121
    Likes Received:
    100
    Best Answers:
    1
    Trophy Points:
    270
    #22
    You can add your RSS feed as a sitemap, but it will contain only the last 20+ items (different from a real sitemap, which contains all of the pages), which is IMO all that you need.

    PS: You can also add your RSS feed as sitemap if you are using Blogspot blog. Just for informative purpose. :)
     
    ColorWP.com, Jan 26, 2008 IP
  3. tankard

    tankard Well-Known Member

    Messages:
    1,018
    Likes Received:
    55
    Best Answers:
    0
    Trophy Points:
    185
    #23
    I am about to make a php script that gathers the post_names or IDs from the MySQL table "posts" and drops them as file names into my existing sitemap.

    But then I have a dilemma. If I use post_names, the sitemap entry will look like:
    domain.com/keyword-blog/this-is-the-title-of-the-post

    You see, a bit worrying, isn't it? It contains five or in some cases even 8 hyphens. Maybe it is better to use post ID? In this case the entry is
    domain.com/keyword-blog/post_id=1? or something similar. What's your opinion?

    I too advise against plugins. I've heard from some webmasters that automatically generated sitemaps are sometimes rejected by GG!
     
    tankard, Jan 26, 2008 IP