How To 301 Redirect

Sitemap
Free Hits Home Charlotte website design company internet marketing Charlotte NC

Latest Hot Topics

More From This Week

learn seo from the #1 selling book on seo in the world!

Information and experience
Our website is for the most part an informational site with seo tips, webmaster tools, and search engine optimization discussion from our peers. It is our goal to share informatio freely and succeed together with our clients.
Client Recommendation Letters

Recent Visitor Searches
ebay
affiliate programs
blogging
keywords
seo
google

Professional Ebay Seller
Our team has operated 2 seperate silver level powerseller accounts on Ebay for over a 2 year span.

Small Business Design and Marketing
Freehits.com
Web Design and Search Marketing
Charlotte, NC 28262


How To 301 Redirect

here is a brief insight into how to set up a 301 redirect on you website.

A 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".

Shown here are the different methods to impliment a 301 redirect.

Redirect with htaccess

Create a .htaccess file (if does not exists) in your root directory.
Redirect permanent / http://www.new-url.com

IIS Redirect

In internet services manager, right click on the file or folder you wish to redirect
Select the radio titled "a redirection to a URL".
Enter the redirection page
Check "The exact url entered above" and the "A permanent redirection for this resource"
Click on 'Apply'
Redirect in ColdFusion
<.cfheader statuscode="301" statustext="Moved permanently">
<.cfheader name="Location" value="http://www.new-url.com">

Redirect in PHP

<?
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: http://www.new-url.com" );
?>

Redirect in ASP

<%@ Language=VBScript %>
<%
Response.Status="301 Moved Permanently" Response.AddHeader "Location", " http://www.new-url.com"
>

Redirect in ASP .NET

<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>