Code: Select all
urlencode( $url_xml )
Code: Select all
urlencode( "http://www.mywebsite.com/sitemap/itemap_index.xml")
Code: Select all
$smindex = $phpbb_root_path . $config['sitemap_dir'] . '/sitemap_index.xml';
Code: Select all
$smindex = generate_board_url() . '/' . $config['sitemap_dir'] . '/sitemap_index.xml';
Code: Select all
$req = 'GET /webmasters/sitemaps/ping?sitemap=' .
Code: Select all
$req = 'GET /webmasters/tools/ping?sitemap=' .
Code: Select all
<loc>http://myforums/viewtopic.php?f=xx&t=yy</loc>
Code: Select all
<loc>http://forums.munci.org/viewtopic.php?f=15&t=11</loc>
Maybe it's because your URLs are redirected with SEO-URLs:regisg wrote:That's strange : few weeks ago, my sitemap was accepted by Google without error.
And now, it failed !
Syntax analysis error :(That's the same with : <loc>http://forums.munci.org/viewtopic.php?f=15&t=11</loc> ...)Code: Select all
<loc>http://forums.munci.org/viewtopic.php?f=15&t=11</loc>
Code: Select all
http://forums.munci.org/des-antennes-en-province-t11.html
I don't use SEO-Mods, so I havn't tested it - but while crawling through the code, i recognized the following issue:regisg wrote:Maybe, indeed, but it doesn't work it i set YES to SEO in the settings of the MOD in the ACP...
And anyway, it worked few weeks ago with the same settings !
Code: Select all
$t_xml .= '<loc>' . $board_url . $topicname . '-t' . $data['topic_id'] . '.html</loc>' . "\n";
Code: Select all
$f_xml .= '<loc>' . $board_url . $topicname . '-t' . $data['topic_id'] . '.html</loc>' . "\n";