для 302 -х
Код: Выделить всё
HttpContext.Current.Response.Redirect(url)
< /code>
для 301, я делаю: < /p>
HttpContext.Current.Response.RedirectPermanent(url)
Подробнее здесь: https://stackoverflow.com/questions/635 ... 7-redirect
Код: Выделить всё
HttpContext.Current.Response.Redirect(url)
< /code>
для 301, я делаю: < /p>
HttpContext.Current.Response.RedirectPermanent(url)