<?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>Ed&#039;s Big Plans &#187; Domain Redirection</title>
	<atom:link href="http://eddiema.ca/tag/domain-redirection/feed/" rel="self" type="application/rss+xml" />
	<link>http://eddiema.ca</link>
	<description>Biology, Computing, Adventure</description>
	<lastBuildDate>Tue, 07 Sep 2010 00:09:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Redirection is Better!</title>
		<link>http://eddiema.ca/2009/10/15/redirection-is-better/</link>
		<comments>http://eddiema.ca/2009/10/15/redirection-is-better/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 05:34:27 +0000</pubDate>
		<dc:creator>Eddie Ma</dc:creator>
				<category><![CDATA[Website Management]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Domain Redirection]]></category>
		<category><![CDATA[Redirection]]></category>

		<guid isPermaLink="false">http://eddiema.ca/?p=827</guid>
		<description><![CDATA[Brief: Phew! Pointing two URLs to the same doc root apparently can give search engines gas. I&#8217;ve thus changed my apache httpd.conf by specifying 301 redirects instead! ##### &#60;VirtualHost *&#62; ServerName tin.blogdns.com #DocumentRoot /Volumes/SnO2 ### OLD BEHAVIOUR RewriteEngine on RewriteRule ^/(.*) http://eddiema.ca/$1 [L,R=301] &#60;/VirtualHost&#62; ##### Excellent&#8230; In case you&#8217;re lost, the old behaviour made it [...]]]></description>
			<content:encoded><![CDATA[<p><em><strong>Brief:</strong></em> Phew! Pointing two URLs to the same doc root apparently can give search engines gas. I&#8217;ve thus changed my apache httpd.conf by specifying 301 redirects instead!</p>
<pre>
#####
&lt;VirtualHost *&gt;
        ServerName tin.blogdns.com
        #DocumentRoot /Volumes/SnO2 ### OLD BEHAVIOUR
        RewriteEngine on
        RewriteRule ^/(.*) http://eddiema.ca/$1 [L,R=301]
&lt;/VirtualHost&gt;
#####
</pre>
<p>Excellent&#8230; In case you&#8217;re lost, the old behaviour made it so that going to tin.blogdns.com would just forward the content from the server without changing the URL; now the URL is correctly rewritten and content is served first hand from eddiema.ca instead.</p>
 <img src="http://eddiema.ca/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=827" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://eddiema.ca/2009/10/15/redirection-is-better/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
