Today morning I sent a Google map extension to the TYPO3 extension repository. I had it for some time already on this and some other sites of mine.

Sitemaps help Google to index your site better and faster. There are only advantages of having them in the TYPO3 web sites.

There several extensions that implement such functionality. Why yet another extension? Here is why:

  • it correctly works with config.baseURL, config.absRefPrefix and domain records. Every other extension does not work with at least one of these settings and creates URLs with host name prepended twice to the URL (invalid URL in the sitemap!)
  • none of the existing extension currently create news sitemap correctly
  • all existing extensions are implements as normal plugins and thus do not perform well enough

My extension is better because it:

  • correctly creates URLs
  • adds a date of last page modification
  • calculates page change frequency based on history of page updates
  • creates news URL correctly
  • uses eID feature, which offers much less load on the server

Why didn't I modify some other extension? I tried. Some of those extensions are either to complex in coding (unnecessarily complex!) or the logic is fundamentally flawed. It was much easier to create a new extension from scratch.

Using the extension

Using the extension is quite simple. In Google Webmaster tools add a sitemap with the URL like this: http://example.com/?eID=dd_googlesitemap. That's it. Nothing else to do. For news sitemap you need to supply two more parameters, which described in the extension manual.

News sitemap currently assumes that news items have only one "single" page. So if your news items have different single pages for each category, they have to be in separate sysfolders and submitted through separate site maps. This will be changed soon.

Found a problem?

The extension is hosted on Forge. Please, add bugs to the Forge's bug tracker.