Companion Sitemap Generator — HTML & XML


What is a sitemap?

A sitemap is a file where you provide information about the pages and posts your site, and the relationships between them. Search engines read this file to more intelligently crawl your site. A sitemap tells the search engine which pages you think are important in your site, and also provides valuable information about these pages: for example, when the page was last updated, how often the page is changed, and any alternate language versions of a page.

Plugin Features

Easily create a sitemap which is then updated every hour, or can be updated manually at any time via the WordPress dashboard. You can select single pages/posts or entire posttypes that you want to exclude from the sitemap. It will generate both an XML sitemap and an HTML sitemap that you can display on your site via the shortcode or gutenberg block.

We’ll keep search engines up-to-date for you

If there are changes being made to your sitemap we’ll notify search engines for you. You don’t have to submit them manual anymore.

What do we add to the sitemap?

The following URLs are added to the sitemap (with an option to hide them, ofcourse):

  • Pages
  • Posts
  • Post categories
  • Post tags
  • Custom post types
  • Custom taxonomies
  • Additional pages: Add URLs yourself

Robots editor

While a sitemap allows search engines to scan pages faster, a robots.txt file disallows search engines from scanning certain pages. This plugin also comes with a handy robots editor to give you full control over your search engine visibility.


Companion Sitemap Generator also supports multilingual sitemaps. Right now this is only supported when using the Polylang plugin but more plugins will be added upon request.


This plugin has support for multisite. Each site will get its own sitemap.


  • Sitemap dashboard
  • Exclude posts from sitemap
  • Quickly update via dashboard
  • Edit robots file
  • HTML Sitemap


This plugin provides 1 block.

Companion Sitemap Generator - HTML & XML


Manual install

  1. Download Companion Sitemap Generator.
  2. Upload the ‘Companion Sitemap Generator’ directory to your ‘/wp-content/plugins/’ directory.
  3. Activate Companion Sitemap Generator from your Plugins page.

Via WordPress

  1. Search for ‘Companion Sitemap Generator’.
  2. Click install.
  3. Activate.


  1. Configure this plugin via Tools > Sitemap.


29 Սեպտեմբերի, 2020
Also ein echtes Lob an die Gruppe ich denke morgen bekommen einige wieder eine Spende und darunter fallt ihr auch. Leider konnte ich früher sowas mehr Unterstützen. Doch leider habe ich wie Michael Schumacher denselben Unfall gehabt bei mir nur mit dem Fahrrad. Firma dadurch verloren eine Menge schulden und lebe vom Grund Gehalt. Doch jeden Monat bekommen welche aus dem Linux und der Open-Source Welt was. Und daher seit ihr jetzt auch in dem Pool. Da es so viel Schrott an Plugins es gibt. Das ist wie bei Android schon. Doch das hier ist echt so klasse in Deutsch fast alles und mit allem, was man braucht.ich will mein WP nicht überladen und finde das wenige doch wichtigste wie für Server und Fail do bang echt klasse. Ich danke euch dafür und wünsche euch auf all euren wegen eines gutes Gelingen bei eurem Plugin und das sich mal einige eine Scheibe von euch abschneiden, sollten die, sehr viel Schrott und nur in Englisch Produzieren. Die liegen alle neben meinem Mülleimer genauso wie Themes Firmen. Doch da habe ich auch eins gefunden bekommen auch noch eine Bewertung und eine Spende und sowas werde ich auch nur noch Unterstützen der Rest wandert in den Mülleimer. Doch wenn man was wie euch und das Team Ersteller gefunden hat, dann muss die Verbindung Bestand haben und es wird öfters dann, eine Spende fließen der Rest soll sonst wo hingehen. Sie haben es nicht verdient. Daher noch mal Klasse und danke dafür. Bis jetzt kein Einbruch auf meinem WP und das auf meinem Server ein Dezentrierter Server. Leute echt das ist ein Knaller Team. Bis jetzt hat keiner es geschafft mich zu hecken. Also tun die Plugins eine geile Arbeit. Nochmals Dankeschön und bleibt Gesund. Und gerne etwas mehr noch in Deutsch das man es noch besser versteht. Ich würde euch gerne helfen doch mein Englisch ist echt Schrott. Ohne Übersetzer gehts nichts mehr. Ihr braucht Hilfe ich habe es gelesen und würde gerne solche wie euch Unterstützen. Doch leider ist mein Englisch echt Grottenschlecht. Sonst gerne.
24 Հուլիսի, 2020
Makes search engines happy.
7 Մարտի, 2020
Thank you Papin for the Companion Sitemap Generator and Robots options. This made things a lot easier for me to manage. Sending you a donation, keep up the good work.
Read all 30 reviews

Contributors & Developers

“Companion Sitemap Generator — HTML & XML” is open source software. The following people have contributed to this plugin.


“Companion Sitemap Generator — HTML & XML” has been translated into 6 locales. Thank you to the translators for their contributions.

Translate “Companion Sitemap Generator — HTML & XML” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.


4.2.0 (July 11, 2020)

  • New: We can notify search engines about changes made
  • Tweak: Only load frontend stylesheet on the HTML sitemap page when gutenberg block is used
  • Tweak: Hard-coded headings in sitemap listing are no longer hard-coded
  • Fix: Some columns wouldn’t display properly on mobile devices

4.1.0 (March 11, 2020)

  • New: A better, cleaner dashboard. We’ve also moved support, settings and the robots editor to here
  • New: Additional pages, add pages outside of your WordPress installation to your sitemaps
  • Tweak: Support for WordPress 5.4
  • Tweak: Minor security improvements

4.0.4 (January 10, 2020)

  • Fixed issue where the sitemap wouldn’t load in the backend
  • Various security improvements

4.0.3 (January 5, 2020)

  • Fixed an issue where sometimes you couldn’t uncheck an item in the content filter

4.0.2 (January 4, 2020)

  • Fixed an issue where the XML sitemap would seem blank
  • Fixed an issue where sometimes the settings wouldn’t actually save

4.0.1 (January 3, 2020)

  • Removed shortcode generator in favor of Gutenberg block
  • Moved settings to new tab called “Settings” and gave the dashboard a redesign
  • Renamed the “Exclusion” tab to “Content filter”
  • Fixed a few (minor) errors
  • Made some under the hood security and performance improvements

4.0 (January 2, 2020)

  • New: We’ve added a fancy shiny gutenberg block to replace the shortcode

3.9.1 (November 7, 2019)

  • Tweak: Only load frontend stylesheet on the HTML sitemap page

3.9.0 (September 27, 2019)

  • New: Option to disable XML stylesheet

3.8.9 (September 20, 2019)

  • Actually added XML styling
  • Added option to use custom XML stylesheet

3.8.8 (August 7, 2019)

  • New: XML sitemap now has styling added
  • Fixed: Few minor errors

3.8.7 (August 3, 2019)

  • New: Multilingual categories, terms etc. will now show up in the proper format on XML sitemap
  • Fixed: Few minor errors
  • Tweak: All items in HTML sitemap now have an unique class

3.8.6 (May 16, 2019)

  • Fix: Error: Cannot modify header information

3.8.5 (April 6, 2019)

  • Fix: Variable mismatch error

3.8.4 (March 12, 2019)

  • Actually added the option to exclude items in taxonomies

3.8.3 (March 12, 2019)

  • Added hierarchy to categories
  • Option to exclude items in taxonomies (Categories, Tags and More)

3.8.2 (March 7, 2019)

  • Few changes in HTML sitemap classes

3.8.1 (February 27, 2019)

  • Security improvements

3.8.0 (February 22, 2019)

  • New: Added support for Post tags and Custom taxonomies
  • Fix: Fixed a few minor errors

3.7.4 (February 20, 2019)

  • New: New support page
  • New: Exclude categories option
  • Improvement: On the HTML sitemap custom post types no longer show as Post type: {identifier} but now show using the proper name
  • Improvement: Some security improvements
  • Fix: Fixed a few errors when saving settings
  • BETA: Few fixes for new gutenberg block beta


  • We no longer create a robots file on activation, instead you’ll have to enable this yourself.


  • New: We’re working hard on a Gutenberg block to “replace” the shortcode. If you’d like to give feedback on this button you can start testing it with this version 🙂
  • Fixed: Undefined index page error
  • Fixed: Exclude Posts table being a bit off
  • Fixed: Call to undefined function error


  • New: We’re working hard on a Gutenberg block to “replace” the shortcode. If you’d like to give feedback on this button you can start testing it with this version 🙂


  • Fix: Cross-site request forgery (CSRF) vulnerabilitie
  • Removed add to content button for old editor


  • HTML sitemap columns work properly again
  • HTML sitemap now has Level 3 hierarchy (still working on even deeper levels)


  • Re-enabled post-exclusion and robots editor for multisite


  • Fix for multisite issues.


  • Multisite support stopped working, the sitemaps are fixed but settings are temporarily disabled on sub-sites.


  • Fix: HTML sitemap would look distorted when post types were hidden or empty


  • Fix: Error: unexpected ‘[‘


  • Fix: Multisite support
  • Fix: Error with & sign in search console


  • New: Set auto-update schedule, how often should the sitemap be updated?


  • New: HTML sitemap: Show in 2 columns
  • New: HTML sitemap: Sort by date or name
  • New: HTML sitemap: Order ASC or DESC


  • Dashboard redesign
  • Add HTML sitemap tab (settings coming up)


  • Added Hungarian translations


  • New: Added categories to the sitemap


  • Exclude posts fix for multiple languages


  • New: Support for multilingual (only works with Polylang atm)


  • New: Added lastmodified to sitemap
  • New: Added changefreq to sitemap


  • Fix: Undefined variable: charset_collate


  • Fix: Undefined index: page error
  • Fix: Undefined index: tabbed error


  • Fix: Few strings were not translatable


  • Improvement: HTML sitemap pages now have hierarchy


  • Fix: Pages not being added to sitemap


  • Fix: Update not working


  • New: Exclude post types.
  • New: Added classes to the HTML sitemap list to allow styling.
  • New: Added button to quicker insert HTML sitemap into a page.
  • Fix: Empty post types are no longer shown in HTML sitemap.


  • Few minor fixes


  • Fix: Some strings could not be translated.
  • Fix: You could not exclude posts from multiple post types.
  • Improvement: Minor dashboard improvement.
  • New: Update sitemap from plugin dashboard.


  • Fix: After selecting posts all posts were selected


  • Completely rewrote the plugin fixing sooo many bugs
  • Fix: Better errors
  • Fix: auto-updating of sitemap
  • New: HTML-sitemap shortcode
  • New: Sitemap is updated every hour
  • New: Better robots dashboard
  • New: Better sitemap dashboard
  • New: Remove pages/posts etc. from sitemap
  • Improvement: Better dashboard widget
  • Improvement: Cleaner code
  • Improvement: Better update handling

View full changelog