301 Redirects?

Started by steveclarys, 12-06-2012, 23:08:35

Previous topic - Next topic

allenhill

301 Redirecting" is the process of making a "301 Response" for a webserver.

When a client browser requests a page using a URL which has no longer been addressed by that URL then webserver sends back the "301 Response"

"301 Response" from the Web server consists of two things -

1) 301 Error message
2) Alternate URL

On receiving that "301 Response" your browser sends another request for that same page, but this time by using the "Alternate URL" taken from "301 Response.


pstpl1

<script runat="server">
private void Page_Load(object sender, System.EventArgs e)
{
Response.Status = "301 Moved Permanently";
Response.AddHeader("Location","http://www.new-url.com");
}
</script>
ERP Software [nofollow]
Payroll Software [nofollow]
  •  


webcreations

301 Redirect definition:A Web server function where an old URL can be redirected to a new one. 301 Redirect is a permanent redirect status indicating that the resource has moved permanently. A 301 redirect is often defined as "a permanent redirect from one URL to another".  In other words, if you have a website at http://mycooldomain.com and you want to permanently redirect it to http://myreallycooldomain.com ,  you can create a 301 redirect from the original URL to the new, more awesome one.  Afterward, anyone accessing the original domain would be redirected to the new URL.  Think of it like the "change of address" form that you would use to route your phyisical mail from an old address to a new one after a move.

Mike Nielson

301 redirect is the most efficient and good   method for webpage redirection. It's not that hard to apply and it should protect your search engine rankings for that particular page.
Orange County SEO [nofollow]
  •  

Sherinfriedler

301 redirect is the most efficient and Search Engine Friendly method for webpage redirection. It's not that hard to implement and it should preserve your search engine rankings for that particular page. If you have to change file names or move pages around, it's the safest option. The code "301" is interpreted as "moved permanently".