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?
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?
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é
is working on a reply...