Tanveer
Tanveer

Reputation: 2087

Exact usage of Response.RedirectPermanent

I read many blogs, but I cannot understand the exact usage of Response.RedirectPermanent. Is it relevant to SEO only, or it is useful for site performance as well?

Upvotes: 3

Views: 5903

Answers (2)

Ravi Vanapalli
Ravi Vanapalli

Reputation: 9942

Response.RedirectPermanent is a URL redirection/ forwarding. You can get correct reasons at http://en.wikipedia.org/wiki/URL_redirection

Upvotes: 1

Rab
Rab

Reputation: 35572

As I understand, I can use RedirectPermanent only when I need to tell SEO that I removed a page and I got a new one instead of.

lets say that I have a page called "page1.aspx", and google cached it in his database search, now if I changed the page1.aspx or I removed it, then I need to put the Response.RedirectPermanent("Page2.aspx) in the page load of Page1.aspx, so that google next time will know that Page1.aspx has become Page2.aspx

and it has nothing to do with site performance

this article might be helpful to make you understand the usage

Upvotes: 7

Related Questions