Hi Andrew,
Please tell me if I did correct.
I didnt find $header .= ' in googlesitemap.php, instead it I have:
And I changed 2 lines :PHP Code:
// Utility function to format the Google XML Header
function GoogleXMLHeader($tag){
return '<?xml version="1.0" encoding="UTF-8"?'.'>' . "\n" .
(GOOGLE_SITEMAP_USE_XSL == 'true' ? '<?xml-stylesheet type="text/xsl" href="gss.xsl"?'.'>' . "\n" : "") .
'<' . $tag . ' xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"' . "\n" .
' xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9' . "\n" .
' http://www.sitemaps.org/schemas/sitemap/0.9/' . ($tag == 'urlset' ? 'sitemap' : 'siteindex') . '.xsd"' . "\n" .
' xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">' . "\n";
}
ThanksPHP Code:
' xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9"' . "\n" .
' url="http://www.sitemaps.org/schemas/sitemap/0.9/' . ($tag == 'urlset' ? 'sitemap' : 'siteindex') . '.xsd"' . "\n" .