Set a Sitemap Starting Point From Within a Website

by Michael Cannon in TYPO3 · 0 comments

Sitemap within website

Sometimes, you want more that just a single level of pages when using the Sitemap content element. In the past, you’d create a bunch of Sitemap content elements using a sub page menu type or even manually create your sitemap in HTML.

No more…

The easy solution is to add a TypoScript template with the following TypoScript into it’s Setup section. Then in your Sitemap content element, use Menu type Sitemap, and set a Starting point.

tt_content.menu.20.2.special = directory

See the accompanying pictures for more details.

Warning

If you put the above TypoScript in your root template, your normal full-site sitemaps will stop working. You can put the following TypoScript into a Template Setup section on your full-site sitemap pages to get them working again.

tt_content.menu.20.2.special >

Related Links

  • HMENU

Be Sociable, Share!

Related Entries

About Michael Cannon

Hello, I'm Michael Cannon, Peichi's smiling man, an adventurous water-ratchief technology officer, cyclist, poet, WWOOF'er and world traveler.

Previous post:

Next post: