Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...SEO Need: sitemap.xml NOT sitemap.aspxSEO Need: sitemap.xml NOT sitemap.aspx
Previous
 
Next
New Post
11/22/2010 4:59 PM
 
AFAIK you just need to create your own sitemap provider. AFAIAR Vicenç Masanas blogged about it

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/22/2010 5:16 PM
 
Actually, the provider and its framework are great. i just want sitemap.xml to be the URL that answers the call.

Where as this:

<add name="SitemapHandler" path="Sitemap.aspx" verb="*" type="DotNetNuke.Services.Sitemap.SitemapHandler, DotNetNuke" preCondition="integratedMode,runtimeVersionv2.0" />

Becomes this:

<add name="SitemapHandler" path="Sitemap.xml" verb="*" type="DotNetNuke.Services.Sitemap.SitemapHandler, DotNetNuke" preCondition="integratedMode,runtimeVersionv2.0" />

 
New Post
11/22/2010 5:42 PM
 
Add this to your robots.txt file and you will be fine.
Sitemap: http://www.xxxx.com/Sitemap.aspx

(But there are major bugs in DNN sitemap.aspx buts that an other story.)
 
New Post
1/24/2011 5:21 AM
 
Lucas Jans wrote:
Actually, the provider and its framework are great. i just want sitemap.xml to be the URL that answers the call.

Where as this:

Becomes this:

 Lucas - the problem is that the .xml extension is not mapped to the asp.net runtime, so when the sitemap.xml request is made, IIS doesn't give the request to asp.net to process - instead it uses the static file handler and in turn you (probably) receive a 404 error.

The resolution in this case is pretty easy - just map .xml to the asp.net runtime in IIS.  But I've never actually tried this - there may be issues.  I would say the correct response is to switch it on and see what happens.  I do know if you're using one of my rewriters you'll be ok in terms of not causing issues with the Url Rewritine module.  That might not be true if you have the standard url rewriter, because I don't think it has code that filters out .xml extensions (could be wrong, working from memory here).

-Bruce

 
New Post
1/24/2011 8:03 AM
 
Last time I checked google does NOT 'automatically' look for sitemap.xml files on a site.

Google and all search engines can make use of sitemap files in one of two ways.

1. the sitemap file is explicitly registered with the search engine via its submission tools.

in which case you can declare  http://www.mysite.com/sitemap.aspx  and the search engine will work perfectly 
it does not need to be called sitemap.xml

2. the sitemap file is declared in your robots.txt file  

User-Agent: *
Sitemap: http://www.mysite.com/sitemap.aspx

Again there is no need for the file to be called sitemap.xml

Westa
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...SEO Need: sitemap.xml NOT sitemap.aspxSEO Need: sitemap.xml NOT sitemap.aspx


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out