Cleaning Executive Officer (1976-2010)

Standard XML Sitemap Plugin


Saturday, July 26th, 2008

Most of Wordpress sitemap plugin is generate a sitemap file into your host. I created a Standard Sitemap Plugin just generate a xml when it need. It’s like XML feed. The plugin work like XML feed. It’s no file generated. It’s automatic generate when need. It’s also add sitemap url or your sitemap location  into current robots.txt that allow search engine crawling. No option required just install and live. The plugin is compatible with WordpressMU user too.

Installation for Wordpress User

1. Upload ‘xml-sitemap.php’ to the ‘/wp-content/plugins/’ directory
2. Upload ‘feed-sitemap.php’ to the ‘/wp-content/includes/’ directory
3. check your sitemap url like http://yourblogurl.com/sitemap.xml

Installation for WordpressMU User

1. Upload ‘xml-sitemap.php’ to the ‘/wp-content/mu-plugins/’ directory
2. Upload ‘feed-sitemap.php’ to the ‘/wp-content/includes/’ directory
3. check your sitemap url like http://yourblogurl.com/sitemap.xml

Frequently Asked Questions

Can I change the sitemap name/URL?
No. The sitemap was defined as sitemap.xml. Your sitemap url should be http://yourblogurl.com/sitemap.xml

I found no sitemap file in my blog?
The sitemap is generate when it need. No file created.

Where can I custom the xml output?
You may custom the XML output with feed-sitemap.php.

Do I need change my robots.txt?
No. It’s will add your sitemap url into your robots.txt when plugin actived.

Download Wordpress Standard XML Sitemap Plugin

Tags: , ,

21 Responses to “Standard XML Sitemap Plugin”

  1. [...] 问题:   在作者的站点,有几位用户留言提到了两个主要的问题:一个是日期格式如’2008-10-07T19:35:50 +0000′当中的空格会导致Google Webmaster Tools提示Invalid Date的警告信息(这个问题很奇怪的在我的两个站点中只有一个提示)。一个是sitemap.xml列出的post数量太少。   对此一位名叫sirjoe的用户给出了他的修改。文章是用意大利语写的,但代码就是最好的交流语言。 [...]

  2. [...] http://patrick.bloggles.info/2008/07/26/standard-xml-sitemap-plugin/ 作者: admin 分类: wordpress/MU 标签: 评论 (0) Trackbacks (0) 发表评论 [...]

  3. st3vieray says:

    just a simple note: It looks like the newer 2.7 builds of wpmu use a $_theme_template variable to find the directory for 2. Upload ‘feed-sitemap.php’ to the ‘/wp-content/includes/’ directory

    If you get a php require failure after installing the plugin just move the file into ./wp-includes/feed-sitemap.php and it should work.

    BTW great plugin. i use it on all my blogs

  4. [...] Standar XML sitemap untup WPMU, disini sudah cocok untuk WPMU, jadi tidak perlu [...]

  5. Umesh says:

    Thanks for the great plugin.
    Thanks Sirjoe. That was very helpful.

  6. Jeanie says:

    Hello, I have Esther theme. I was wondering if I can change picture on header for each page, same website. I like clean design of Esther

  7. webmaster says:

    Hello there.

    Interesting. But is there a maximum number of posts listed in the sitemap.xml ?
    Can annybody help me?

    Thankyou.

    • Patrick says:

      You may open file feed-site.php with notepad and change the limit to 1000 at line 26. Example:

      $post_ids = $wpdb->get_col("SELECT ID FROM $wpdb->posts WHERE post_status = 'publish' ORDER BY post_date_gmt DESC LIMIT 1000");

  8. iday says:

    Y ?

    Fatal error: Cannot redeclare sitemap_flush_rules() (previously declared in /home/blogbyday/domains/blogbyday.net/public_html/wp-content/mu-plugins/xml-sitemap.php:32) in /home/blogbyday/domains/blogbyday.net/public_html/wp-content/plugins/xml-sitemap.php on line 34

    thank.

    • Patrick says:

      Where the folder that you install the plugin? I think you are duplicated install. If you using WordpressMU just install the file in folder mu-plugins/.

  9. [...] 问题: 在作者的站点,有几位用户留言提到了两个主要的问题:一个是日期格式如’2008-10-07T19:35:50 +0000’当中的空格会导致Google Webmaster Tools提示Invalid Date的警告信息(这个问题很奇怪的在我的两个站点中只有一个提示)。一个是sitemap.xml列出的post数量太少。 对此一位名叫sirjoe的用户给出了他的修改。文章是用意大利语写的,但代码就是最好的交流语言。 [...]

  10. sirjoe says:

    Hi!
    Thanks for the great plugin! I also had the problem with the date and with the limit in the query, which resulted in only 100 posts to be listed.
    However, I slightly modified the feed-sitemap.xml file by correcting the problem with the date (correct format being Y-m-d\TH:i:s+00:00 without the space before the + and with the : between the last zeros).
    As for the limit, I set the query to the last 1000 posts.
    A rewriting of the whole file is available directly on my site (in italian) http://tekne.ecletticamente.eu/wordpress/plugin-wordpress-mu-standard-xml-sitemap/

  11. google is saying that there is a problem at the sitemap, its a date issue. How can i fix this?
    “An invalid date was found. Please fix the date or formatting before resubmitting”

    Parent tag:
    Tag:
    Value:
    Problem detected on: url
    lastmod
    2008-10-24T14:56:48 +0000
    Oct 26, 2008

    http://diesel.blogs2k.com/sitemap.xml

  12. [...] a 301 Redirect if you have permanently moved any webpages. Again, there is stressed the need for a sitemap as this can be very helpful for both your visitors and robots to see and find all your valuable [...]

  13. nicholas says:

    submitted the sitemap to google via web tools
    unfortunately google didn’t like the date format

    An invalid date was found. Please fix the date or formatting before resubmitting

    2008-10-07T19:35:50 +0000

    any ideas

    regards

  14. Jimmy says:

    Hello there.

    Interesting. But is there a maximum number of posts listed in the sitemap.xml ?

    I have thousands of posts on my blog, but the sitemap only shows about 250 posts.

    Thx

  15. [...] time I won from technique. FeedBurner FeedSmith plugin redirect all my feeds to a predefined URL, Standard Sitemap Plugin generates a xml like a feed. I see a problem there, don’t you? You want all feeds to be [...]

  16. Ben says:

    I think it’s a nice plugin which required very little configuration, but it fails when using FeedBurner_FeedSmith_Plugin. sitemap.xml will then be redirected to the URL given in that addon (example of a not working sitemap on my page). Do you have a solution for that?

  17. Leonaut.com says:

    Standard XML Sitemap…

    Standard Sitemap Plugin generate a xml when it need. It’s like XML feed. The plugin work like XML feed. It’s no file generated. It’s automatic generate when need. It’s also add sitemap url or your sitemap location into current robots.txt that …

Leave a Reply

Comment moderation is enabled. Your comment may take some time to appear.