Htaccess 301 Redirect

Htaccess 301 Redirect

Dec 18, 2012

Htaccess 301 redirect is search engine friendly method for redirection of any page that you want to redirect another page. It’s not hard to redirect page and it should prevent your search engine ranking for that page. If you change your page and moved it permanently then 301 redirect is better option.

Htaccess 301 redirect

Htaccess 301 redirect

Below we given some methods to 301 redirect with htaccess URL redirection

Htaccess 301 redirect

To Redirect One Page:

Redirect 301 /oldpage.html http://www.yoursite.com/newpage.html
Redirect 301 /oldpage2.html http://www.yoursite.com/folder/

To Redirect Entire Site:

Redirect 301 / http://www.new-site.com/

Php Redirect

<?
Header( “HTTP/1.1 301 Moved Permanently” );
Header( “Location: http://www.newsite.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.newsite.com”);
}
</script>

You can 301 redirect of your page or entire website to new page or website. We give you best working methods for redirection you can use this if you search for htaccess or other redirection.

Powered By DT Author Box

Written by Cloudy Cip

No comments

Trackbacks/Pingbacks

  1. Sac Lancel - Sac Lancel... And having my s4i earbuds and my best image an individual headphones and promedia step 2....

Leave a Reply

Your email address will not be published. Required fields are marked *

banner
Read previous post:
How to Turning Off Instant Search Google Results

Google Instant is a new real time search which provide results even before you can type your keyword so How...

Close