404 Error Redirects

V

VK

Hi,

We built a new site using ASP.NET.

Our old site used mainly static pages, .shtml pages.

The issue arises when user searches and results with .shtml pages are
still be displayed by search engines. I have added some code in
webconfig file to redirect error, also changed in IIS Custom error(404)
properties to default to an .aspx custom error page.

The strange part is if it is .shtml page it comes up with "Object not
found" but if it is an aspx extension it redirects correctly to custom
made error page.
http://<url>/showpage.shtml ERROR
http://<url>/showpage.aspx Redirects to error page

We are losing some of our customers - any help would be appreciated.

Many thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Silly Questions on 404 Error (ASP.NET 2.0) 2
Redirect error 1
404 pages 4
Custom Error Pages 2
Redirects 4
Throwing a 404 when rewriting urls 1
404 redirects not working 2
HTTP Error 404 1

Top