<?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>WEBii.net News &#38; Tips &#187; php redirect</title>
	<atom:link href="http://webii.net/blog/tag/php-redirect/feed/" rel="self" type="application/rss+xml" />
	<link>http://webii.net/blog</link>
	<description>web design . development . marketing . hosting . domains</description>
	<lastBuildDate>Wed, 01 Feb 2012 20:08:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>How To:  The Easy 3 Step PHP Redirect.</title>
		<link>http://webii.net/blog/2009/02/how-to-the-easy-3-step-php-redirect/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-the-easy-3-step-php-redirect</link>
		<comments>http://webii.net/blog/2009/02/how-to-the-easy-3-step-php-redirect/#comments</comments>
		<pubDate>Thu, 12 Feb 2009 22:09:37 +0000</pubDate>
		<dc:creator>Bobby Martinez</dc:creator>
				<category><![CDATA[Austin Web Design]]></category>
		<category><![CDATA[Tech Support]]></category>
		<category><![CDATA[php redirect]]></category>

		<guid isPermaLink="false">http://webii.net/blog/?p=401</guid>
		<description><![CDATA[Chances are youâ€™ve seen a link like www.example.com/vote that will link you somewhere, even if it is not on example.com. If you own your own website, youâ€™ve probably even wondered how to use this to your advantage. Youâ€™re initial thought might be, â€œbut, only an internet wizard of mythical proportions and years of studying the [...]]]></description>
			<content:encoded><![CDATA[<p>Chances are youâ€™ve seen a link like www.example.com/vote that will link you somewhere, even if it is not on example.com.</p>
<p>If you own your own website, youâ€™ve probably even wondered how to use this to your advantage.</p>
<p>Youâ€™re initial thought might be, â€œbut, only an internet wizard of mythical proportions and years of studying the arcane could be powerful enough to wield such magics as to manipulate the interweb in this manner!!â€</p>
<p>Actually, itâ€™s about as easy as slipping into a pair of Hammer Pants.</p>
<p>There are a couple of different ways to accomplish this, but the one Iâ€™m going to show you is called a PHP 301 Redirect.</p>
<p style="padding-left: 30px;"><strong>1.</strong> First, make a directory in your website that you will want to have the redirect named after.  If you wanted to make a link to your favorite singerâ€™s webpage, which is most likely MC Hammer, you would make a subdirectory called â€œmchammerâ€ in the root directory of your website.  This means your link will look like this:  www.yourdomain.com/mchammer</p>
<p style="padding-left: 30px;"><strong>2. </strong>Create a file called â€œindex.phpâ€ in your â€œmchammerâ€ directory, and insert this code (and only this code!) into the page:</p>
<p style="padding-left: 30px;">&lt;?</p>
<p style="padding-left: 30px;">Header( &#8220;HTTP/1.1 301 Moved Permanently&#8221; );<br />
Header( &#8220;Location: http://www.mchammer.comâ€ );<br />
?&gt;</p>
<p style="padding-left: 30px;"><strong>3.</strong> Replace the example URL (http://www.mchammer.com) with your destination of choice, and save or upload this change.Â  Now, every time you go to www.yourdomain.com/mchammer , you will be redirected to www.mchammer.com.</p>
<p style="padding-left: 30px;"><strong>4.</strong> STOP&#8211;Hammer Time.</p>
<div class="shr-publisher-401"></div>]]></content:encoded>
			<wfw:commentRss>http://webii.net/blog/2009/02/how-to-the-easy-3-step-php-redirect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
