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

bcgooglesitemaps: Google XML sitemaps

This page is for site owners who want search engines to find all public pages. bcgooglesitemaps generates a sitemap (sitemap.xml protocol) of your public content as a cronjob. It writes one file per siteaccess, usually…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/features/6.0/extensions/bcgooglesitemaps.md

On this page

bcgooglesitemaps: Google XML sitemaps

This page is for site owners who want search engines to find all public pages. bcgooglesitemaps generates a sitemap (sitemap.xml protocol) of your public content as a cronjob. It writes one file per siteaccess, usually sitemap_<siteaccess>.xml (the names are set in the INI file), and has a multilingual variant.

Use it

Run it once from the installation root:

php runcronjobs.php googlesitemaps
php runcronjobs.php googlesitemapsmultilingual

Check that the sitemap file was written, then add the same command to cron so it stays current.

Settings

FileBlockKeyDefaultMeaning
bcgooglesitemaps.iniBCGoogleSitemapSettingsSitemapRootNodeID2Start node of the sitemap
bcgooglesitemaps.iniBCGoogleSitemapSettingsProtocolhttpsProtocol written into the URLs
bcgooglesitemaps.iniBCGoogleSitemapSettingsFilename, Filesuffix, Pathsitemap, .xml, emptyWhere and how the file is named
bcgooglesitemaps.iniClassesClassFilterType, ClassFilterArray[]exclude, emptyInclude or exclude classes
bcgooglesitemaps.iniNodeSettingsMain_Node_OnlyfalseOnly main nodes
bcgooglesitemaps.iniNodeSettingsExcludeNodes, ExcludedNodeIDs[]disabled, emptyExclude subtrees. Disabled by default (1.1.6) to stay compatible with sites that never had exclusions

Put your values in settings/override/bcgooglesitemaps.ini.append.php.

What changed

VersionDateChange
1.1.67 January 2024New ExcludeNodes setting; the dependency on the ezsystems package replaced by the 7x one; the license terms allow a license upgrade; the cronjob tool was forked for inclusion in Exponential.
1.1.6.1License clarified in composer.json.
1.1.6.2 to 1.1.6.427 September to 2 October 2026The license is named in full; the description names Exponential; command line scripts and module views are classes the files call; entry point files carry a header of 7x and the Exponential Foundation; commands list a description.

For richer SEO (titles, descriptions, Open Graph images, news and mobile sitemaps) see xrowmetadata.

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