<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Revenue Robot &#187; permanently redirect</title>
	<atom:link href="http://www.revenuerobot.com/tag/permanently-redirect/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.revenuerobot.com</link>
	<description>Your source for Video Games, Cheats, Glitches, Walkthroughs, Game Trailers and More!</description>
	<lastBuildDate>Fri, 10 Feb 2012 03:38:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>How to do a 301 redirect for a website</title>
		<link>http://www.revenuerobot.com/2009/how-to-do-a-301-redirect-for-a-website/</link>
		<comments>http://www.revenuerobot.com/2009/how-to-do-a-301-redirect-for-a-website/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 05:46:32 +0000</pubDate>
		<dc:creator>Revenue Robot</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[301 redirect]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[error page]]></category>
		<category><![CDATA[permanently redirect]]></category>
		<category><![CDATA[redirect method]]></category>
		<category><![CDATA[webpage]]></category>

		<guid isPermaLink="false">http://www.revenuerobot.com/?p=715</guid>
		<description><![CDATA[I&#8217;ve read alot of sites saying that the 301 redirect could be called the most efficient and search engine friendly method for webpage redirection. The code &#8220;301&#8243; is interpreted as &#8220;moved permanently&#8220;. If you recall a bit back I did a post on How to Redirect a Website with PHP which his you lead a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve read alot of sites saying that the 301 redirect could be called the most efficient and search engine friendly method for webpage redirection. The code &#8220;301&#8243; is interpreted as &#8220;<em>moved permanently</em>&#8220;. If you recall a bit back I did a post on <a href="http://www.revenuerobot.com/2009/how-to-redirect-a-website-with-php/">How to Redirect a Website with PHP</a> which his you lead a link to a page on your site by using PHP. Below are a bunch of useful ways to redirect your site &#8220;permanently&#8221; in a way.</p>
<h3>PHP Redirect</h3>
<p>&lt;?<br />
Header( &#8220;HTTP/1.1 301 Moved Permanently&#8221; );<br />
Header( &#8220;Location: http://www.yourdomain.com&#8221; );<br />
?&gt;</p>
<h3>ASP .NET Redirect</h3>
<p>&lt;script runat=&#8221;server&#8221;&gt;<br />
private void Page_Load(object sender, System.EventArgs e)<br />
{<br />
Response.Status = &#8220;301 Moved Permanently&#8221;;<br />
Response.AddHeader(&#8220;Location&#8221;,&#8221;http://www.yourdomain.com&#8221;);<br />
}<br />
&lt;/script&gt;</p>
<h3>JSP (Java) Redirect</h3>
<p>&lt;%<br />
response.setStatus(301);<br />
response.setHeader( &#8220;Location&#8221;, &#8220;http://www.yourdomain.com/&#8221; );<br />
response.setHeader( &#8220;Connection&#8221;, &#8220;close&#8221; );<br />
%&gt;</p>
<h3>ColdFusion Redirect</h3>
<p>&lt;.cfheader statuscode=&#8221;301&#8243; statustext=&#8221;Moved permanently&#8221;&gt;<br />
&lt;.cfheader name=&#8221;Location&#8221; value=&#8221;http://www.yourdomain.com&#8221;&gt;</p>
<h3>ASP Redirect</h3>
<p>&lt;%@ Language=VBScript %&gt;<br />
&lt;%<br />
Response.Status=&#8221;301 Moved Permanently&#8221;<br />
Response.AddHeader &#8220;Location&#8221;,&#8221;http://www.yourdomain.com/&#8221;<br />
%&gt;</p>
<h3>CGI PERL Redirect</h3>
<p>$q = new CGI;<br />
print $q-&gt;redirect(&#8220;http://www.yourdomain.com/&#8221;);</p>
<p>If you know of any other ways to redirect a page via the 301 method please feel free to leave it as a comment.<strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://www.revenuerobot.com/2010/the-complete-list-of-http-status-codes/" rel="bookmark" title="September 8, 2010">The Complete List of HTTP Status Codes</a></li>
<li><a href="http://www.revenuerobot.com/2009/how-to-redirect-a-website-with-php/" rel="bookmark" title="January 15, 2009">How to Redirect a Website with PHP</a></li>
<li><a href="http://www.revenuerobot.com/2010/strange-creepy-and-interesting-wikipedia-pages/" rel="bookmark" title="August 11, 2010">Strange, Creepy and Interesting Wikipedia Pages</a></li>
<li><a href="http://www.revenuerobot.com/2011/how-to-check-mw3-online-server-status/" rel="bookmark" title="November 24, 2011">How to Check MW3 Xbox360, PS3, or PC Server Status</a></li>
<li><a href="http://www.revenuerobot.com/2008/vintage-retro-postcards/" rel="bookmark" title="March 31, 2008">Vintage / Retro Postcards</a></li>
<li><a href="http://www.revenuerobot.com/2008/celebrity-twitter-accounts/" rel="bookmark" title="October 21, 2008">Celebrity Twitter Accounts</a></li>
<li><a href="http://www.revenuerobot.com/2011/l-a-noire-hidden-car-locations-guide/" rel="bookmark" title="May 30, 2011">L.A. Noire Hidden Car Locations Guide</a></li>
</ul>
<p><!-- Similar Posts took 67.862 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.revenuerobot.com/2009/how-to-do-a-301-redirect-for-a-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

