added a sitemap and google sitemap following the great tutorial on radiantcms.org: HowToMakeASiteMap
additionally I added to my web-sitemap, not the xml google sitemap, at the bottom of the body part of the sitemap a “hack” for linking to my gallery entries:
<r:find url="/en/gallery">
<r:gallery:if_galleries>
<r:galleries:each level="current">
<li>
<r:gallery:if_items>
<a href="<r:gallery:gallery_url />" title="<r:gallery:name />">
<r:gallery:name />
</a>
</r:gallery:if_items>
</li>
</r:galleries:each>
</r:gallery:if_galleries>
</r:find>
</ul>
This requires to set the Pagetype for the sitemap to “Gallery”, and to set the correct base gallery.
Since i switched from my old Homepage to the radiant homepage I included the sitemap to show up in my 404 Pagetype page. This gives users and bots a hint where to find the information they searched for.
maybe you find the page here:
<ul>
<r:find url="/">
<r:snippet name="sitemapper" />
</r:find>
</ul>
Interested in Cloud or Chef Trainings? Have a look at our Commandemy Trainings page. Need help migrating to the cloud? Check out Infralovers.
comments powered by Disqus