This is the transfer of power from the domain A to the B, for example, you xxx.com. positions them on the word xxx ----- 301 wxxx.com / xxx - convey the power of a keyword in the second
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. ColdFusion Redirect <.cfheader statuscode="301" statustext="Moved permanently"> <.cfheader name="Location" value="http://www.new-url.com"> PHP Redirect <? Header( "HTTP/1.1 301 Moved Permanently" ); Header( "Location: http://www.new-url.com" ); ?> ASP Redirect <%@ Language=VBScript %> <% Response.Status="301 Moved Permanently" Response.AddHeader "Location","http://www.new-url.com/" %> ASP .NET Redirect <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> JSP (Java) Redirect <% response.setStatus(301); response.setHeader( "Location", "http://www.new-url.com/" ); response.setHeader( "Connection", "close" ); %> CGI PERL Redirect $q = new CGI; print $q->redirect("http://www.new-url.com/"); Ruby on Rails Redirect def old_action headers["Status"] = "301 Moved Permanently" redirect_to "http://www.new-url.com/" end
A 301 redirect is a redirection that automatically takes visitors to the new website or page. This type of redirect is permanent and search engine bots will index and rank the new page.
Redirect is something that will guide your visitors to access the correct page in case you've done major reconstruction to your site..
301 redirect is used to re-direct all the link value/juice of an old domain to a new domain. And this is permanent redirect.