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

<channel>
	<title>Designs by Calvin Blog &#187; .htaccess</title>
	<atom:link href="http://designsbycalvin.com/blog/category/htaccess/feed/" rel="self" type="application/rss+xml" />
	<link>http://designsbycalvin.com/blog</link>
	<description>Maine based design blog and design info for non-profit organizations.</description>
	<pubDate>Tue, 02 Sep 2008 02:52:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<item>
		<title>Redirecting Pages using .htaccess</title>
		<link>http://designsbycalvin.com/blog/2008/06/redirecting-pages-using-htaccess/</link>
		<comments>http://designsbycalvin.com/blog/2008/06/redirecting-pages-using-htaccess/#comments</comments>
		<pubDate>Sun, 01 Jun 2008 05:58:38 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
		
		<category><![CDATA[.htaccess]]></category>

		<category><![CDATA[code snippets]]></category>

		<category><![CDATA[web design]]></category>

		<category><![CDATA[Error 301]]></category>

		<category><![CDATA[Error 404 Page Not Found]]></category>

		<category><![CDATA[Permanently Moved]]></category>

		<guid isPermaLink="false">http://designsbycalvin.com/blog/?p=26</guid>
		<description><![CDATA[This quick post explains how to redirect users to different pages on your website and in theory, not harm your Google Page Rank. Basically using the 301 error code tells a search engine or browser that the file was once there, and it has permanently moved.
Error 3o1: Permanently Moved should not be confused with the [...]]]></description>
			<content:encoded><![CDATA[<p>This quick post explains how to redirect users to different pages on your website and in theory, not harm your Google Page Rank. Basically using the 301 error code tells a search engine or browser that the file was once there, and it has permanently moved.</p>
<p>Error 3o1: Permanently Moved should not be confused with the more frequently seen Error 404: Page Not Found. This error code is generally used to indicate that content does not exist anymore. Error 404&#8217;s will eventually filter out of search engines over time.</p>
<p id="note"><strong>Note:</strong> It is assumed you have a general understanding of how to make/edit a .htaccess file.</p>
<p><strong>To relocate one page use this snippet:</strong></p>
<p id="code">Redirect 301 /oldpage.php http://www.yoursite.com/newpage.php</p>
<p>You can add as many of these lines to your .htaccess file as needed. However, if you would rather just move all 301 errors to your main page (or any page for that matter), <strong>use this snippet of code:</strong></p>
<p id="code">Redirect 301 / http://www.yoursite.com</p>
<p>There are many other ways to handle a redirect, but this way I find is the easiest and requires the least amount of coding.</p>



Share and Enjoy:


	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fdesignsbycalvin.com%2Fblog%2F2008%2F06%2Fredirecting-pages-using-htaccess%2F&amp;title=Redirecting%20Pages%20using%20.htaccess" title="Digg"><img src="http://designsbycalvin.com/blog/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.designfloat.com/submit.php?url=http%3A%2F%2Fdesignsbycalvin.com%2Fblog%2F2008%2F06%2Fredirecting-pages-using-htaccess%2F&amp;title=Redirecting%20Pages%20using%20.htaccess" title="Design Float"><img src="http://designsbycalvin.com/blog/wp-content/plugins/sociable/images/designfloat.gif" title="Design Float" alt="Design Float" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://del.icio.us/post?url=http%3A%2F%2Fdesignsbycalvin.com%2Fblog%2F2008%2F06%2Fredirecting-pages-using-htaccess%2F&amp;title=Redirecting%20Pages%20using%20.htaccess" title="del.icio.us"><img src="http://designsbycalvin.com/blog/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fdesignsbycalvin.com%2Fblog%2F2008%2F06%2Fredirecting-pages-using-htaccess%2F&amp;t=Redirecting%20Pages%20using%20.htaccess" title="Facebook"><img src="http://designsbycalvin.com/blog/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fdesignsbycalvin.com%2Fblog%2F2008%2F06%2Fredirecting-pages-using-htaccess%2F&amp;title=Redirecting%20Pages%20using%20.htaccess" title="Mixx"><img src="http://designsbycalvin.com/blog/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fdesignsbycalvin.com%2Fblog%2F2008%2F06%2Fredirecting-pages-using-htaccess%2F&amp;title=Redirecting%20Pages%20using%20.htaccess" title="Google"><img src="http://designsbycalvin.com/blog/wp-content/plugins/sociable/images/googlebookmark.png" title="Google" alt="Google" class="sociable-hovers" /></a>
	<a rel="nofollow" href="mailto:?subject=Redirecting%20Pages%20using%20.htaccess&amp;body=http%3A%2F%2Fdesignsbycalvin.com%2Fblog%2F2008%2F06%2Fredirecting-pages-using-htaccess%2F" title="E-mail this story to a friend!"><img src="http://designsbycalvin.com/blog/wp-content/plugins/sociable/images/email_link.png" title="E-mail this story to a friend!" alt="E-mail this story to a friend!" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.furl.net/storeIt.jsp?u=http%3A%2F%2Fdesignsbycalvin.com%2Fblog%2F2008%2F06%2Fredirecting-pages-using-htaccess%2F&amp;t=Redirecting%20Pages%20using%20.htaccess" title="Furl"><img src="http://designsbycalvin.com/blog/wp-content/plugins/sociable/images/furl.png" title="Furl" alt="Furl" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fdesignsbycalvin.com%2Fblog%2F2008%2F06%2Fredirecting-pages-using-htaccess%2F&amp;title=Redirecting%20Pages%20using%20.htaccess&amp;source=Designs+by+Calvin+Blog+Maine+based+design+blog+and+design+info+for+non-profit+organizations.&amp;summary=This%20quick%20post%20explains%20how%20to%20redirect%20users%20to%20different%20pages%20on%20your%20website%20and%20in%20theory%2C%20not%20harm%20your%20Google%20Page%20Rank.%20Basically%20using%20the%20301%20error%20code%20tells%20a%20search%20engine%20or%20browser%20that%20the%20file%20was%20once%20there%2C%20and%20it%20has%20permanently%20" title="LinkedIn"><img src="http://designsbycalvin.com/blog/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow" href="javascript:window.print();" title="Print this article!"><img src="http://designsbycalvin.com/blog/wp-content/plugins/sociable/images/printer.png" title="Print this article!" alt="Print this article!" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://reddit.com/submit?url=http%3A%2F%2Fdesignsbycalvin.com%2Fblog%2F2008%2F06%2Fredirecting-pages-using-htaccess%2F&amp;title=Redirecting%20Pages%20using%20.htaccess" title="Reddit"><img src="http://designsbycalvin.com/blog/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fdesignsbycalvin.com%2Fblog%2F2008%2F06%2Fredirecting-pages-using-htaccess%2F&amp;title=Redirecting%20Pages%20using%20.htaccess" title="StumbleUpon"><img src="http://designsbycalvin.com/blog/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://technorati.com/faves?add=http%3A%2F%2Fdesignsbycalvin.com%2Fblog%2F2008%2F06%2Fredirecting-pages-using-htaccess%2F" title="Technorati"><img src="http://designsbycalvin.com/blog/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow" href="http://twitthis.com/twit?url=http%3A%2F%2Fdesignsbycalvin.com%2Fblog%2F2008%2F06%2Fredirecting-pages-using-htaccess%2F" title="TwitThis"><img src="http://designsbycalvin.com/blog/wp-content/plugins/sociable/images/twitter.png" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://designsbycalvin.com/blog/2008/06/redirecting-pages-using-htaccess/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
