XML Sitemap for XenForo 1.3 [Not needed, included in 1.4]

I don't see a sitemap folder in my Xenforo install. Should it be there or do I need to create one? Does case matter, "sitemap" or "Sitemap" for the name of the folder?
 
I don't see a sitemap folder in my Xenforo install. Should it be there or do I need to create one? Does case matter, "sitemap" or "Sitemap" for the name of the folder?
I believe it's part of the files you upload that cam with the add on zip file, is there a folder called "sitemap" in the upload folder?
 
There is 5 of them. sphynxlair.com is the site.

View attachment 73722

Ok, so I verified that the sitemap only contains 10,000 urls, so so far so fine.
Then, the size of the sitemap after zip is 167 Kb, and unzipped it is 1.4Mb

Which is weird, because the max official size is 10Mb, and actually google updated that limit to 50Mb, and you are under that limit.

https://support.google.com/webmasters/answer/35738?hl=en
Screen Shot 2014-05-14 at 6.04.41 PM.webp

I would try resubmitting it. You might want to go to options in the Admin Control Panel and change the urls per sitemap to a lower number (5000) if it is still failing
 
Real beginner question here, I've uploaded the files, run the xl and have xenporta showing as installed. How do I get it to show on my forum?
 
google just gives me this.
General HTTP error: 404 not found
HTTP Error: 404 I did the cron rebuild and and it worked fine. It built the sitemap in my server but for some reason google says its not there...but it is there??
 
google just gives me this.
General HTTP error: 404 not found
HTTP Error: 404 I did the cron rebuild and and it worked fine. It built the sitemap in my server but for some reason google says its not there...but it is there??
Could you post a screenshot of Google Sitemaps?
 
Is this compatible with route changer? Meaning, I'm looking to change my directory and use the route changer to keep my URLs the same, would this continue to index the URLs based on the changes made with the route changer (again, the URLs shouldn't change, as long as I'm able to do the directory change and use route changer to keep my current URL paths)?
 
Is this compatible with route changer? Meaning, I'm looking to change my directory and use the route changer to keep my URLs the same, would this continue to index the URLs based on the changes made with the route changer (again, the URLs shouldn't change, as long as I'm able to do the directory change and use route changer to keep my current URL paths)?
Yes, it is compatible
 
i am facing this error today 3780 time

#0 /var/sites/s/mydomain.com/public_html/forum/library/XfAddOns/Sitemap/Sitemap/ThreadPagination.php(138): XenForo_Application::handlePhpError(Array)
#1 /var/sites/s/mydomain.com/public_html/forum/library/XfAddOns/Sitemap/Sitemap/ThreadPagination.php(74): XfAddOns_Sitemap_Sitemap_ThreadPagination->canView('10000')
#2 /var/sites/s/mydomain.com/public_html/forum/library/XfAddOns/Sitemap/Sitemap/ThreadPagination.php(42): XfAddOns_Sitemap_Sitemap_ThreadPagination->generateStep()
#3 /var/sites/s/mydomaina.com/public_html/forum/library/XfAddOns/Sitemap/Model/Sitemap.php(203): XfAddOns_Sitemap_Sitemap_ThreadPagination->generate()
#4 /var/sites/s/mydomain/public_html/forum/library/XfAddOns/Sitemap/CronEntry/RebuildSitemap.php(40): XfAddOns_Sitemap_Model_Sitemap->runAllAvailableSiteMaps(Array)
#5 /var/sites/s/mydomain.com/public_html/forum/library/XenForo/Model/Cron.php(356): XfAddOns_Sitemap_CronEntry_RebuildSitemap::run(Array, Array)
#6 /var/sites/s/mydomain.com/public_html/forum/library/XenForo/Deferred/Cron.php(24): XenForo_Model_Cron->runEntry(Array)
#7 /var/sites/s/mydomain.com/public_html/forum/library/XenForo/Model/Deferred.php(252): XenForo_Deferred_Cron->execute(Array, Array, 9.99999713898, '')
#8 /var/sites/s/mydomain.com/public_html/forum/library/XenForo/Model/Deferred.php(386): XenForo_Model_Deferred->runDeferred(Array, 9.99999713898, '', false)
#9 /var/sites/s/mydomain.com/public_html/forum/library/XenForo/Model/Deferred.php(331): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#10 /var/sites/s/mydomain.com/public_html/forum/deferred.php(23): XenForo_Model_Deferred->run(false)
#11 {main}
 
Having converted from Drupal glad this is available many thanks and Great work !! This appears to already also helped my sites ranking on search pages and so on

Not checked yet but noticed its not available to users - as in on Drupal as well as providing the full index for Google and search purposes it was also available to users to help show the sites content - sorry if I have missed this from above but too much to read :)

Many Thanks

Jon
 
@Rigel Kentaurus Hi, I don't know why when I run Rebuild Sitemap manual, this addon working so well, but when it run automatic via cron, it's only create forums sitemap.

This's my sitemap.xml in sitemap.xml.gz:

HTML:
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <sitemap>
    <loc>http://mydomain.com/sitemap/sitemap.forums.1.xml.gz</loc>
  </sitemap>
</sitemapindex>

My forum had 170.000 threads, I had exclude some forums and here is log file:

HTML:
DEBUG: 05/18/2014 12:12:11: Found sitemap dir. The sitemap will be generated in /public_html/sitemap
DEBUG: 05/18/2014 12:12:11: Generating forums...
DEBUG: 05/18/2014 12:12:11: -- Excluded: http://mydomain.com/forum/47/
DEBUG: 05/18/2014 12:12:11: -- Excluded: http://mydomain.com/forum/133/
DEBUG: 05/18/2014 12:12:11: -- Excluded: http://mydomain.com/forum/179/
DEBUG: 05/18/2014 12:12:11: -- Excluded: http://mydomain.com/forum/255/
DEBUG: 05/18/2014 12:12:11: -- Excluded: http://mydomain.com/forum/390/
DEBUG: 05/18/2014 12:12:11: -- Excluded: http://mydomain.com/forum/441/
DEBUG: 05/18/2014 12:12:11: -- Excluded: http://mydomain.com/trash/
DEBUG: 05/18/2014 12:12:11: -- Excluded: http://mydomain.com/forum/504/
DEBUG: 05/18/2014 12:12:11: -- Excluded: http://mydomain.com/forum/505/
DEBUG: 05/18/2014 12:12:11: -- Excluded: http://mydomain.com/forum/517/
DEBUG: 05/18/2014 12:12:11: -- Excluded: http://mydomain.com/archive/
DEBUG: 05/18/2014 12:12:11: -- Excluded: http://mydomain.com/forum/561/
DEBUG: 05/18/2014 12:12:11: Generating threads...
DEBUG: 05/18/2014 12:12:11: -- Starting at -1 and generating 100 urls...
DEBUG: 05/18/2014 12:12:12: Generating index file...
DEBUG: 05/18/2014 12:12:12: Pinging to Google: http://www.google.com/webmasters/tools/ping?sitemap=http%3A%2F%2Fmydomain.com%2Fsitemap%2Fsitemap.xml.gz
DEBUG: 05/18/2014 12:12:12: Pinging to Bing: http://www.bing.com/webmaster/ping.aspx?sitemap=http%3A%2F%2Fmydomain.com%2Fsitemap%2Fsitemap.xml.gz
INFO: 05/18/2014 12:12:13: Sitemap has been generated

Please help me fix it.
Thanks.
 
Last edited:
@Rigel Kentaurus Hi, I don't know why when I run Rebuild Sitemap manual, this addon working so well, but when it run automatic via cron, it's only create forums sitemap.

This's my sitemap.xml in sitemap.xml.gz:

HTML:
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <sitemap>
    <loc>http://mydomain.com/sitemap/sitemap.forums.1.xml.gz</loc>
  </sitemap>
</sitemapindex>

My forum had 170.000 threads, I had exclude some forums and here is log file:

HTML:
DEBUG: 05/18/2014 12:12:11: Found sitemap dir. The sitemap will be generated in /public_html/sitemap
DEBUG: 05/18/2014 12:12:11: Generating forums...
DEBUG: 05/18/2014 12:12:11: -- Excluded: http://mydomain.com/forum/47/
DEBUG: 05/18/2014 12:12:11: -- Excluded: http://mydomain.com/forum/133/
DEBUG: 05/18/2014 12:12:11: -- Excluded: http://mydomain.com/forum/179/
DEBUG: 05/18/2014 12:12:11: -- Excluded: http://mydomain.com/forum/255/
DEBUG: 05/18/2014 12:12:11: -- Excluded: http://mydomain.com/forum/390/
DEBUG: 05/18/2014 12:12:11: -- Excluded: http://mydomain.com/forum/441/
DEBUG: 05/18/2014 12:12:11: -- Excluded: http://mydomain.com/trash/
DEBUG: 05/18/2014 12:12:11: -- Excluded: http://mydomain.com/forum/504/
DEBUG: 05/18/2014 12:12:11: -- Excluded: http://mydomain.com/forum/505/
DEBUG: 05/18/2014 12:12:11: -- Excluded: http://mydomain.com/forum/517/
DEBUG: 05/18/2014 12:12:11: -- Excluded: http://mydomain.com/archive/
DEBUG: 05/18/2014 12:12:11: -- Excluded: http://mydomain.com/forum/561/
DEBUG: 05/18/2014 12:12:11: Generating threads...
DEBUG: 05/18/2014 12:12:11: -- Starting at -1 and generating 100 urls...
DEBUG: 05/18/2014 12:12:12: Generating index file...
DEBUG: 05/18/2014 12:12:12: Pinging to Google: http://www.google.com/webmasters/tools/ping?sitemap=http%3A%2F%2Fmydomain.com%2Fsitemap%2Fsitemap.xml.gz
DEBUG: 05/18/2014 12:12:12: Pinging to Bing: http://www.bing.com/webmaster/ping.aspx?sitemap=http%3A%2F%2Fmydomain.com%2Fsitemap%2Fsitemap.xml.gz
INFO: 05/18/2014 12:12:13: Sitemap has been generated

Please help me fix it.
Thanks.
Might be timing out, people with that much content really have switched to use the Cli version of the add-on
 
Top Bottom