Try Now

SEO optimization

by Bigdata.ru
Publication date:
Nov 9, 2009, 17:02 PM


  • Sitefinity 3.7

Price: $ 0

Auto generation sitemap file

1. Copy file websitemap.xml.ashx root web-folder

2. Test result http://namesite/sitemap.xml.ashx

3. Use robots.txt to announce Sitemap to Search Engines (http://www.sitemaps.org/protocol.php#informing)
Add the following line changing namesite with your domain name:
Sitemap: http://namesite/sitemap.xml

4. Add URL Rewriting http://namesite/sitemap.xml to http://namesite/sitemap.xml.ashx

4.1. Add a configuration section element <configSections>:

<sectionGroup name="telerik">

<section name="urlrewrites" type="Telerik.Cms.Web.AdvancedUrlRewriter, Telerik.Cms"/>

4.2.In the <httpModules> section, replace the default CmsHttpModule with CmsHttpModuleUrlRewrite (shipped with Sitefinity)
<add name="Cms" type="Telerik.Cms.Web.CmsHttpModuleUrlRewrite, Telerik.Cms"/>

4.3. Set up your rules. Add an <urlrewrites> section:

<!-- Add your rule elements here -->

5. Test result http://namesite/sitemap.xml