<?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: SEO for Ruby on Rails</title>
	<atom:link href="http://www.tonyspencer.com/2007/01/26/seo-for-ruby-on-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tonyspencer.com/2007/01/26/seo-for-ruby-on-rails/</link>
	<description>It&#039;s Just Links</description>
	<lastBuildDate>Wed, 14 Sep 2011 13:47:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Marc minelli</title>
		<link>http://www.tonyspencer.com/2007/01/26/seo-for-ruby-on-rails/comment-page-1/#comment-87288</link>
		<dc:creator>Marc minelli</dc:creator>
		<pubDate>Sun, 15 Jun 2008 14:30:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.tonyspencer.com/2007/01/26/seo-for-ruby-on-rails/#comment-87288</guid>
		<description>Thanks for the hint on redirect...i figured out how it is done with .htaccess though.</description>
		<content:encoded><![CDATA[<p>Thanks for the hint on redirect&#8230;i figured out how it is done with .htaccess though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KK</title>
		<link>http://www.tonyspencer.com/2007/01/26/seo-for-ruby-on-rails/comment-page-1/#comment-48292</link>
		<dc:creator>KK</dc:creator>
		<pubDate>Wed, 09 Jan 2008 15:03:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.tonyspencer.com/2007/01/26/seo-for-ruby-on-rails/#comment-48292</guid>
		<description>There must be something related with route.Any idea?</description>
		<content:encoded><![CDATA[<p>There must be something related with route.Any idea?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KK</title>
		<link>http://www.tonyspencer.com/2007/01/26/seo-for-ruby-on-rails/comment-page-1/#comment-48206</link>
		<dc:creator>KK</dc:creator>
		<pubDate>Wed, 09 Jan 2008 04:26:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.tonyspencer.com/2007/01/26/seo-for-ruby-on-rails/#comment-48206</guid>
		<description>nice tips, is there any way to redirect page to index when user try to pass the non url
ex:when i type  www.domain.com/hello/
no metod in controller appears
i just want to redirect instead of error</description>
		<content:encoded><![CDATA[<p>nice tips, is there any way to redirect page to index when user try to pass the non url<br />
ex:when i type  <a href="http://www.domain.com/hello/">http://www.domain.com/hello/</a><br />
no metod in controller appears<br />
i just want to redirect instead of error</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jimmy</title>
		<link>http://www.tonyspencer.com/2007/01/26/seo-for-ruby-on-rails/comment-page-1/#comment-35184</link>
		<dc:creator>Jimmy</dc:creator>
		<pubDate>Mon, 22 Oct 2007 03:22:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.tonyspencer.com/2007/01/26/seo-for-ruby-on-rails/#comment-35184</guid>
		<description>What kind of dog is in the picture?</description>
		<content:encoded><![CDATA[<p>What kind of dog is in the picture?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ok</title>
		<link>http://www.tonyspencer.com/2007/01/26/seo-for-ruby-on-rails/comment-page-1/#comment-33508</link>
		<dc:creator>ok</dc:creator>
		<pubDate>Tue, 09 Oct 2007 09:28:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.tonyspencer.com/2007/01/26/seo-for-ruby-on-rails/#comment-33508</guid>
		<description>how do you create a simple link to a url, in the list view.
e.g. a link to http://google.com.</description>
		<content:encoded><![CDATA[<p>how do you create a simple link to a url, in the list view.<br />
e.g. a link to <a href="http://google.com">http://google.com</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy HUbert</title>
		<link>http://www.tonyspencer.com/2007/01/26/seo-for-ruby-on-rails/comment-page-1/#comment-28664</link>
		<dc:creator>Jeremy HUbert</dc:creator>
		<pubDate>Fri, 07 Sep 2007 05:25:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.tonyspencer.com/2007/01/26/seo-for-ruby-on-rails/#comment-28664</guid>
		<description>Hey Tony. Great Tips. The 301 Redirect stuff really comes in handy.

As for rendering the partial, you could always do this:

 (@request.user_agent.downcase =~ /googlebot/) ? &#039;bot&#039; : &#039;notabot&#039;  
 %&gt;  

Yay for one line ruby. :)</description>
		<content:encoded><![CDATA[<p>Hey Tony. Great Tips. The 301 Redirect stuff really comes in handy.</p>
<p>As for rendering the partial, you could always do this:</p>
<p> (@request.user_agent.downcase =~ /googlebot/) ? &#8216;bot&#8217; : &#8216;notabot&#8217;<br />
 %&gt;  </p>
<p>Yay for one line ruby. <img src='http://www.tonyspencer.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SEO G</title>
		<link>http://www.tonyspencer.com/2007/01/26/seo-for-ruby-on-rails/comment-page-1/#comment-13311</link>
		<dc:creator>SEO G</dc:creator>
		<pubDate>Thu, 10 May 2007 16:32:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.tonyspencer.com/2007/01/26/seo-for-ruby-on-rails/#comment-13311</guid>
		<description>thanks for the tips Tony. I also like the code highlighting on this page, makes it quite easy to read. Are you using standard CSS or a code highlighting plugin for wordpress?

Also, if you have any examples of how to do a match on a list of old URLs and then redirect them to the new structure that would be great. Perhaps something where one could load up the old URL paths in a database and for each entry tell it the new place to 301 redirect. For those who want to migrate an entire existing site over to a new clean url Rails site.

@Obie: Thanks for the link and explanation of Rails routing, though I had to grab it from the Google cache today.</description>
		<content:encoded><![CDATA[<p>thanks for the tips Tony. I also like the code highlighting on this page, makes it quite easy to read. Are you using standard CSS or a code highlighting plugin for wordpress?</p>
<p>Also, if you have any examples of how to do a match on a list of old URLs and then redirect them to the new structure that would be great. Perhaps something where one could load up the old URL paths in a database and for each entry tell it the new place to 301 redirect. For those who want to migrate an entire existing site over to a new clean url Rails site.</p>
<p>@Obie: Thanks for the link and explanation of Rails routing, though I had to grab it from the Google cache today.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rubycorner.net - resources for ruby and rails development</title>
		<link>http://www.tonyspencer.com/2007/01/26/seo-for-ruby-on-rails/comment-page-1/#comment-5127</link>
		<dc:creator>rubycorner.net - resources for ruby and rails development</dc:creator>
		<pubDate>Sun, 18 Mar 2007 19:28:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.tonyspencer.com/2007/01/26/seo-for-ruby-on-rails/#comment-5127</guid>
		<description>[...] SEO for Ruby on Rails - On this post you can find information on these topics: Search Engine Friendly URLs, 301 redirects, Boost Your Page Load Speed with Page Caching, Easy Cloaking. It deserves a read up. [...]</description>
		<content:encoded><![CDATA[<p>[...] SEO for Ruby on Rails &#8211; On this post you can find information on these topics: Search Engine Friendly URLs, 301 redirects, Boost Your Page Load Speed with Page Caching, Easy Cloaking. It deserves a read up. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tony</title>
		<link>http://www.tonyspencer.com/2007/01/26/seo-for-ruby-on-rails/comment-page-1/#comment-2571</link>
		<dc:creator>tony</dc:creator>
		<pubDate>Mon, 05 Feb 2007 14:31:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.tonyspencer.com/2007/01/26/seo-for-ruby-on-rails/#comment-2571</guid>
		<description>@topfunky - Yes that would be the proper way to do it.  I was just demonstrating the code straight in the view for simplicity.</description>
		<content:encoded><![CDATA[<p>@topfunky &#8211; Yes that would be the proper way to do it.  I was just demonstrating the code straight in the view for simplicity.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: topfunky</title>
		<link>http://www.tonyspencer.com/2007/01/26/seo-for-ruby-on-rails/comment-page-1/#comment-2541</link>
		<dc:creator>topfunky</dc:creator>
		<pubDate>Mon, 05 Feb 2007 01:40:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.tonyspencer.com/2007/01/26/seo-for-ruby-on-rails/#comment-2541</guid>
		<description>A better solution to user agent cloaking might be to write a helper that returns a boolean based on the user agent. 

A custom helper like bot_visitor? could check for google, msn, etc. and consolidate more thorough logic without putting it in the view.</description>
		<content:encoded><![CDATA[<p>A better solution to user agent cloaking might be to write a helper that returns a boolean based on the user agent. </p>
<p>A custom helper like bot_visitor? could check for google, msn, etc. and consolidate more thorough logic without putting it in the view.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

