Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

XML sitemaps

Generate XML sitemaps for search engines with bcgooglesitemaps or xrowmetadata - the cronjob parts, the settings, multilingual and multisite sitemaps, serving the file and registering it in robots.txt.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/creators/website-creators/sitemaps.md

On this page

XML sitemaps

This page is for website creators who give search engines a list of every page. Exponential generates sitemaps with one of two extensions; both run as cronjob parts and write a file the web server serves.

Contents

  1. Choose an extension
  2. bcgooglesitemaps
  3. xrowmetadata sitemaps
  4. Serving and registering
  5. Checklist

Choose an extension

bcgooglesitemapsxrowmetadata
Part of the distributionyes (robots.txt feature)yes
Cronjob partsgooglesitemaps, googlesitemapsmultilingualsitemap, archivesitemap, newssitemap, mobilesitemap
Choose whenyou want a plain sitemapyou already use xrowmetadata for page metadata

bcgooglesitemaps

From bcgooglesitemaps:

php runcronjobs.php googlesitemaps
php runcronjobs.php googlesitemapsmultilingual

Settings in settings/override/bcgooglesitemaps.ini.append.php:

BlockKeyDefaultMeaning
BCGoogleSitemapSettingsSitemapRootNodeID2start node
BCGoogleSitemapSettingsProtocolhttpsscheme written into the addresses
BCGoogleSitemapSettingsFilename, Filesuffix, Pathsitemap, .xml, emptythe file
ClassesClassFilterType, ClassFilterArray[]exclude, emptyinclude or exclude classes
NodeSettingsMain_Node_Onlyfalseonly main locations (avoids duplicates)
NodeSettingsExcludeNodes, ExcludedNodeIDs[]disabled, emptyleave out subtrees

Exclude classes that are not pages (images, files, banners) and set Main_Node_Only=true when content has several locations.

xrowmetadata sitemaps

php runcronjobs.php sitemap

writes files below var/storage/sitemap/<siteaccess>/ (names in xrowsitemap.ini) and prints each file name; the rewrite rules must let them through (RewriteRule ^sitemap[^/]*\.xml - [L]) (xrowmetadata, Sitemaps).

Serving and registering

  1. Run the part once and check the file exists and lists your pages.

  2. Add the part to cron, for example nightly (Cronjobs).

  3. Make sure the web server (or Velocity) serves the file rather than passing it to index.php.

  4. Add it to robots.txt:

    Sitemap: https://www.example.com/sitemap.xml
  5. Submit it in the search engines' webmaster tools.

Checklist

  • To do: Only real pages are listed, each once.
  • To do: Hidden and members-only content is not listed (test with a page you know is restricted).
  • To do: The addresses use the public host and https.
  • To do: Each language siteaccess has its sitemap.
  • To do: Cron regenerates it.

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x