Hi
I changed the google sitemap addon like you see below and it is working. (At least for all images and the about page.)
Problem is that I want my old links back :-). I mean the links from se.nsuo.us cleanurls tool. Do you have any Idea how to realize.
And I'm not sure this will work all the time. So no gurantee.
PHP Code:
$query = mysql_query("SELECT id,lastmod,headline FROM ".$pixelpost_db_prefix."pixelpost WHERE (datetime<='$cdate') ORDER BY datetime desc ");
while(list($id,$datetime,$headline) = mysql_fetch_row($query))
{
$datetime = strtotime($datetime);
$datetime =date("Y-m-d",$datetime);
$output .= "
<url>
<loc>".$cfgrow['siteurl']."p/$id</loc>
<lastmod>$datetime</lastmod>
</url>
";
}
$output .= "<url>
<loc>".$cfgrow['siteurl']."about</loc>
</url>
</urlset>";
header("Content-type:application/xml");
echo $mapheader.$output;
exit;
}