[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


HtppHandler ashx

Posted on 2009-04-20
Medium Priority
Last Modified: 2012-05-06
I have a client that says they submit sitemap.xml to Google Webmaster.
However, that returns a 404 in the browser.
There is a sitemap.ashx the returns xml.

1. Does the client have .ashx and .xml mixed up?
2. Is there some way to route sitemap.xml to to sitemap.ashx?
Question by:JRockFL
  • 2
LVL 39

Expert Comment

ID: 24186602
The sitemap.ashx will return an xml sitemap. Your client uses the wrong url and should adjust it to match the sitemap.ashx.

Author Comment

ID: 24187037
The client said that the XML sitemap can only be sitemap.xml
and it was working before.
LVL 39

Accepted Solution

abel earned 2000 total points
ID: 24187184
that's another story. If it was working before... And I didn't read well, you said explicitly that it was an httphandler.  Sorry about that.

An HTTP handler must be configured in IIS and should be given an extension. Somehow your mapping might have gone wrong, or another handler is placed there that messes it up somehow.

I don't know about what your ashx does. The problem can also be in there.

-- Abel --

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question