How to create a sitemap using DNN and C#?


by terrence , in category: SEO , a month ago

How to create a sitemap using DNN and C#?

Facebook Twitter LinkedIn Telegram Whatsapp Pocket

1 answer

by priscilla.langworth , a month ago

@terrence 1. Install the XModPro module on your DNN instance. XModPro contains a built-in feature for automatically creating a sitemap.

  1. Go to the “Admin” tab and select “XMod Pro Features”.
  2. Select “Sitemap Generator” from the drop-down menu.
  3. Enter the URL of your website, select the desired frequency for the generation of the sitemap, and click “Save”.
  4. Create a c# web application to do the following :

a. Create an XML web service that calls the sitemap generator built into XModPro.

b. Retrieve the generated sitemap file and add the necessary elements to it.

c. Upload the modified sitemap file to your website root.

d. Submit the sitemap to search engines such as Google.