Redirect error

V

VK

Hello:

We have launched our new web site using ASP.NET(VB.NET).

The problem is with some 404 Page cannot be found error messages. Some
of our users have bookmarked some links from our previous web site which
brings up 404 Page cannot be found error message.

We have created one of our own error message pages suggesting the new
links and support email address - is there some way we could redirect
those 404 error messages to this newly aspx page, to show this error
message.

Thanks.
 
G

Guest

Have you tried using the customErrors element in your web.config file, such
as...

<configuration>
<system.web>
<customErrors mode="RemoteOnly">
<error statusCode="404" redirect="NotFoundError.aspx"/>
</customErrors>
</system.web>
</configuration>

....?
 

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

Top