Monday, January 08, 2007

Typo3 Sitemap Hacks

This blog moved to a new location, please visit us at http://ramble.m2m.at.

The creation of site maps in typo3 is pretty straight forward. You can either use the built-in site-map function or the extension fl_seo_sitemap. The later has the advantage to be adjustable using CSS.

Have a look at en example for a human readable site map.

For the automatic creation of a site map for google in XML format, there exists another nice extension mc_googlesitemap. It provides functions not only to create site maps for the pages inside the typo3 CMS but also for database content such as news items. At our system, the site maps for content items did not work at first. A look at the source code showed the problem. We did not have the news items assigned to a news category. After doing so the site map worked.

Here are examples for a google site map for pages, a google site map for content items, and finally a google site map which links the other two together.

No comments: