Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Fredrik Esseen 610 posts 906 karma points
    Dec 11, 2009 @ 11:07
    Fredrik Esseen
    0

    Create Custom 404

    Hi!

    Ive made a custom 404 which works fine for call to  .aspx pages. But I would like that every 404 is redirected to that page. The reason is that we created a new page to a customer and the old page was in PHP. Now all links in google is wrong and the only thing showing up is the IIS 7 404 page.

    I know we should work with redirecting through 301 instead but the first solutions is to NOT show a hideous page.

    One solution it to set the IIS to process .php but is there any other way?

  • atze187 160 posts 215 karma points
    Dec 11, 2009 @ 12:04
    atze187
    0

    Hi,

    i've been running into this myself and solved it like described on http://our.umbraco.org/forum/developers/api-questions/5572-How-to-raise-umbraco-404-error-in-IIS-. It's a hack as you have to modify the umbraoc requestHandler and the global.asax, but i spend quite a lot of time with this and found no other solution.

    André

Please Sign in or register to post replies

Write your reply to:

Draft