New answers tagged


I solved the problem with Response.RedirectPermanent using Asp.NET. This method returns a 301 status code.


I'm assuming you're using classic ASP (not .NET) since you refer to default.asp and not default.aspx. Instead of using response.redirect and counting on your web config file to change from a 302 to a 301, try adding the 301 to the response object before redirecting the user. <% Response.Status="301 Moved Permanently" Response.AddHeader "...


No. There will be 1 request for the http site and then a second - which will have the http link as the referee.

Top 50 recent answers are included