Search Engine Marketing Advice - Implementing a 301 Redirect Get the Trellian Seo Toolkit
Get our FREE SEO Guide
Subscribe to our newsletter to receive useful SEO tips, tricks, strategies, free ebooks that are available only to our subscribers and get this amazing SEO guide for free!

Your email is safe and will NEVER be shared with any other parties. And of course, you can unsubscribe at any time.

Name:
Email:
SEO Elite - #1 SEO Software

Who Else Wants To Finally Get A #1 Google Ranking In As Little As 7 Days... And Drive A Minimum Of 789 Unique Visitors To Your Websites Per Day?

No follow checker PHP script

This PHP script allow you to easily check any page for no follow links to your website. Just enter your domain, the page to scan for the links and hit the button.

Only $9.95
Coming soon ...


Self SEO Store  
SEO forum
Website templates
Flash templates
Best hosting reviews.
Free Internet & IT Magazines.
Articles archive

Submit your article

Register
Login

Search
XML news feeds
Free RSS news reader
Contact


AddThis Feed Button

Search Engine Marketing Advice - Implementing a 301 Redirect

Posted by Anthony Kirlew on: 2006-06-20 19:27:27

Self SEO > Search Engine Articles


In the earlier days of the web, programmers used a line of coding called a META REFRESH to re-route visitors to another page if a page was updated or changed on a web site. For those unfamiliar, here is what the code looks like:


< meta http-equiv="Refresh" content="4;url=http://www.webtrafficteam.com" >

In this example, content = 4, relates to the length of time (in seconds) the page will display until forwarding to the URL listed. All one would need to do is have this snippet of web coding placed in the HEAD section of the page, and it would automatically redirect you to the URL, in this case www.webtrafficteam.com If you are going to use this piece of code, you will need to remove the extra spaces at the beginning and end of the code; they were added for formatting the article.

The search engines soon caught on that this coding was being used to manipulate the search engines by those who would obtain a high rank on a page and then re-route that traffic to another site which wouldn’t normally rank as well.

So how do you avoid being looked at as an unscrupulous web marketer? Enter the 301 Redirect. A 301 redirect is simply a technical means of re-routing a visitor to a new web page without the search engines thinking that you are doing something to manipulate search results. As a side note, it is also a great way to hide an affiliate link.

The short of it is that you can add this code to a web page and now redirect your page without fear of hurting your search engine rankings - for now that is. Using the code below, simply change the URL to your destination URL and upload the page to your server. NOTE: If you have never done this before, please use a test page or folder so you don’t take your site down unexpectedly.

Here are the 301 redirect code samples:

Below are samples of coding used to perform a 301 redirect. If you are running on a Microsoft platform, you should use the ASP (VB Script) code and if you are running any flavor of Unix (i.e. Linux), you should use the PHP code.

PHP – Unix/Linux platform

< ?php // Permanent redirection header("HTTP/1.1 301 Moved Permanently"); header("Location: http://www.destinationurl.com"); exit(); ? >

ASP (VB Script) – Microsoft Windows platform

< %@ Language=VBScript %> <% response.status="301 moved permanently" Response.AddHeader "Location", " http://www.destinationurl.com" % >

I hope this helps you implement effective redirects that don't get you in trouble with the search engines.

Anthony Kirlew is an Internet Marketing Specialist and a life long entrepreneur. Among his diverse business interests, he is the founder of The Web Traffic Team located at http://www.webtrafficteam.com, an Internet Marketing firm committed to helping businesses increase their revenues, both online and offline, through effective Internet Marketing strategies.




Print this article    Tell a friend
Related Articles

Post New Comment

This site does not allow anonymous comments. Registered members can login to participate. Registration is free and takes only a few seconds