How to create sitemalxml in kentico mvc

Muhammad Kaleem asked on March 27, 2019 07:01

please anyone can help to create sitemapxml in my mvc site, i have search but in documentation its uses web parts but i'm using mvc how can i add sitemap in mvc without webparts???

Recent Answers


Dragoljub Ilic answered on March 27, 2019 10:59

Hi,

Like everything else, you need to handle it on your own. You must implement logic for getting all relevant pages for sitemap, generate XML and tweak routing to resolve sitemap.xml route. Really good post about implementing sitemap can be found on this link: https://www.mcbeev.com/Blog/December-2018/How-to-Create-XML-Sitemap-Kentico-12-MVC

Best regards, Dragoljub

2 votesVote for this answer Mark as a Correct answer

Muhammad Kaleem answered on March 28, 2019 12:33

thanks

0 votesVote for this answer Mark as a Correct answer

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