HtppHandler ashx

Posted on 2009-04-20
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
    LVL 39

    Expert Comment

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

    Author Comment

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

    Accepted Solution

    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

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on could not pull conte…
    It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    754 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

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now