You have to insert the complete /www/html/forum/core/store_sitemap
Than the sitemap will be created, but google and the other xml reader cannot read them.
you have to edit the class_sitemap.php in the core/includes to change the file xmlsitemap.php to /store_sitemap/
PHP Code:
foreach ($this->sitemap_index AS $sitemap)
{
$content .= "\n" . '<sitemap>';
$content .= "\n\t" . '<loc>' . htmlspecialchars($this->registry->options['bburl'] . '/store_sitemap/' . urlencode($sitemap['loc'])) . '</loc>';
$content .= "\n\t" . '<lastmod>' . gmdate(DATE_W3C, $sitemap['lastmod']) . '</lastmod>';
$content .= "\n" . '</sitemap>';
}
$content .= "\n" . '</sitemapindex>';
// Compress and add extension
if (function_exists('gzencode'))
{
$content = $content;
$output_filename = $this->sitemap_index_filename . '.xml';
}
else
{
$output_filename = $this->sitemap_index_filename . '.xml';
}
and:
PHP Code:
// Compress and add extension
if (function_exists('gzencode'))
{
$content = $this->content;
$new_file .= '.xml';
}
else
{
$content = $this->content;
$new_file .= '.xml';
}