Custom Error page | Redirect type =301?

Posted by FlopScientist on Stack Overflow See other posts from Stack Overflow or by FlopScientist
Published on 2013-03-08T11:25:35Z Indexed on 2013/11/07 15:54 UTC
Read the original article Hit count: 176

Filed under:
|
|

I guess this may be a novice question ( Which I am :) ). While redirecting user to custom error page, for e.g. 404, to tell that page wasn't found, the type of this redirect is 302.

  <error statusCode="404" redirect="/Utility/Error404.aspx" />
  <error statusCode="400" redirect="/Utility/Error404.aspx" />

Is it possible to make this redirect 301 through Web.config?

Thanks in advance to you all code maniacs.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about .NET