How to add google sitemap item using the Kentico CMS API

hadi tag asked on May 15, 2016 09:58

hi, i using kentico 8

i want insert an "url tag" to google sitemap file via kentico api in my webpart. Is there a solution?

Recent Answers

Jan Hermann answered on May 16, 2016 11:06

The site map web part takes data from the content tree, but the code is available here -> \CMS\CMSWebParts\Navigation\xmlsitemap.ascx.cs. I recommend to clone it and pass your tag directly to stringBuilder.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.