As mentioned in my previous blog post “SiteMap For WordPress MU“, not only did I claimed to get the sitemap for WordPress MU working, I also show you my WordPress Mu at NewsFreez.com.

Now I am going to reveal the steps to get the SiteMap For WordPress MU working for you. Here are the steps:
Read the rest of this entry

Popularity: 6% [?]

Comments (26)

Yes, SiteMap For WordPress MU is possible.

Finally, I have managed to get Google XML Sitemaps (currently 3.1.0.1. by Arne Brachhold) to work for WordPress MU.

You can check out my WordPress MU site at NewsFreez.com. All the sitemaps are in the form of domain.com/sitemap.xml and sub.domain.com/sitemap.xml

WordPress MU

The SiteMaps have also been tested and can be viewed by major browsers like Firefox, Internet Explorer, Opera and Safari.

Google Webmaster Tools has also accepted my SiteMap and there are no errors.

There are a few changes that are required before it can work. I will document it step by step before I do another blog post on it.

Meantime, please update your Google XML Sitemaps (3.1.0.1.) and WordPress MU (1.5.1) to the latest version and also subscribe to my RSS Feed. Thanks.

Popularity: 5% [?]

Comments (5)

Thanks to mihai from PatchLog for providing XML Sitemap for Pligg update 0.6. I installed it for my pligg 9.9.0 powered site at http://pligg.topsites.sg running on php 4.

However when submitting the sitemap to Google, the date was an invalid format. The sitemap lastmod date was showing <lastmod>2008-04-16SGT10:23:16</lastmod>

According to Google Sitemap FAQ, Google Sitemap requires the ISO-8601 encoding which has two variations:
- 2005-02-21
- 2005-02-21T18:00:15+00:00

After some research, i found the solution. Thanks to Guides - Dynamic ATOM Feed

Open xml_sitemaps_main.php

Before

function xml_sitemaps_show_sitemap(){,

Add

function get_iso_8601_date($int_date) {
//$int_date: current date in UNIX timestamp
$date_mod = date(’Y-m-d\TH:i:s’, $int_date);
$pre_timezone = date(’O', $int_date);
$time_zone = substr($pre_timezone, 0, 3).”:”.substr($pre_timezone, 3, 2);
$date_mod .= $time_zone;
return $date_mod;
}

Find

echo “<lastmod>”.date(’Y-m-dTH:i:s’,strtotime($r[0])).”</lastmod>”;

Replace with

// echo “<lastmod>”.date(’Y-m-dTH:i:s’,strtotime($r[0])).”</lastmod>”;
echo “<lastmod>”.get_iso_8601_date(strtotime($r[0])).”</lastmod>”;

Find

echo “<lastmod>”.date(’Y-m-dTH:i:s’, $link->modified).”</lastmod>\n”;

Replace with

// echo “<lastmod>”.date(’Y-m-dTH:i:s’, $link->modified).”</lastmod>\n”;
echo “<lastmod>”.get_iso_8601_date($link->modified).”</lastmod>”;

Find

echo “<lastmod>”.date(’Y-m-dTH:i:s’, $m_time).”</lastmod>\n”;

Replace with

// echo “<lastmod>”.date(’Y-m-dTH:i:s’, $m_time).”</lastmod>\n”;
echo “<lastmod>”.get_iso_8601_date($m_time).”</lastmod>”;

That’s all you need. Submit it to Google and it should accept your Sitemap.

Popularity: 4% [?]

Comments (4)

Google XML Sitemaps Plugin is highly recommend. This plugin will create a Google sitemaps compliant XML-Sitemap of your WordPress blog. It supports all of the WordPress generated pages as well as custom ones. Everytime you edit or create a post, your sitemap is updated and all major search engines that support the sitemap protocol, like ASK.com, Google, MSN Search and YAHOO, are notified about the update.

Current version is 3.0.3 updated on 2007-12-30

Click here to stay updated with the latest version.

Popularity: 3% [?]

Leave your Comment