View Full Version : Sitemap not working
belfast2012
09-16-2013, 05:47 PM
Hello,
Under AdminCP -> XML Sitemap -> XML Sitemap settings I get an error as follows:
Error: You did not enter a valid value for this setting.
Which I believe is for Sitemap File Path (./store_sitemap)
Does this mean I can't write to the directory or something?
Thanks for any help!
belfast2012
09-16-2013, 10:53 PM
bummmp
Zachery
09-16-2013, 11:09 PM
XML site maps are not a working feature in vBulletin 5 at this time. I'd suggest you vote on it in the tracker.
nchoose
11-04-2013, 07:21 PM
Are they working now? with vBulletin 5.05?
Zachery
11-04-2013, 09:54 PM
Nope.
Afrika
11-08-2013, 11:25 PM
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/
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:
// Compress and add extension
if (function_exists('gzencode'))
{
$content = $this->content;
$new_file .= '.xml';
}
else
{
$content = $this->content;
$new_file .= '.xml';
}
laminedj
11-18-2013, 09:37 AM
Hello Afrika,
If I get it well, you find a way to write the sitemap in vbulletin folder BUT Google can't read.
Why Google can't read it if the sitemap is well created and you give to google boot the right path ?
Regards
lamien
Afrika
11-22-2013, 10:57 PM
First the .gz doesn't work fine. I do it without compression than it works, BUT
the Sitemap is not correctly there are problems with the urls insite.
Im sad that the best forumsoftware ever is now.....
Spangle
11-23-2013, 12:17 AM
Try this :
https://www.snapsitemap.com/?campaign=goog10&gclid=COH7553e-boCFVMPtAodHxwAKQ
or this :
http://www.xml-sitemaps.com/
Google is your friend, there are quite a few sites that will generate a sitemap and submit it to Google for you.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.