<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Redirect old URLs in&#160;Rails</title>
	<atom:link href="http://almosteffortless.com/2007/02/15/redirect-old-urls-in-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://almosteffortless.com/2007/02/15/redirect-old-urls-in-rails/</link>
	<description></description>
	<lastBuildDate>Wed, 10 Mar 2010 01:15:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: ynw</title>
		<link>http://almosteffortless.com/2007/02/15/redirect-old-urls-in-rails/comment-page-1/#comment-58104</link>
		<dc:creator>ynw</dc:creator>
		<pubDate>Wed, 29 Aug 2007 00:22:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.almosteffortless.com/2007/02/15/redirect-old-urls-in-rails/#comment-58104</guid>
		<description>I would suggest to

def old_action
  headers[&quot;Status&quot;] = &quot;301 Moved Permanently&quot;
  redirect_to &quot;http://www.new-url.com/&quot;
end

It&#039;s more SEO friendly.</description>
		<content:encoded><![CDATA[<p>I would suggest to</p>
<p>def old_action<br />
  headers["Status"] = &#8220;301 Moved Permanently&#8221;<br />
  redirect_to &#8220;http://www.new-url.com/&#8221;<br />
end</p>
<p>It&#8217;s more SEO friendly.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
