<?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: htaccess trick &#8211; redirect to WWW domain without hardcoding the domain name</title>
	<atom:link href="http://jamienay.com/2010/01/htaccess-trick-redirect-to-www-domain-without-hardcoding-the-domain-name/feed/" rel="self" type="application/rss+xml" />
	<link>http://jamienay.com/2010/01/htaccess-trick-redirect-to-www-domain-without-hardcoding-the-domain-name/</link>
	<description>A PHP web developer writing about the web.</description>
	<lastBuildDate>Mon, 26 Jul 2010 20:07:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Ollie Treend</title>
		<link>http://jamienay.com/2010/01/htaccess-trick-redirect-to-www-domain-without-hardcoding-the-domain-name/comment-page-1/#comment-6544</link>
		<dc:creator>Ollie Treend</dc:creator>
		<pubDate>Fri, 14 May 2010 22:13:09 +0000</pubDate>
		<guid isPermaLink="false">http://jamienay.com/?p=531#comment-6544</guid>
		<description>I found this article a while back. It looks like it should do what you want.
http://www.workingwith.me.uk/blog/software/open_source/apache/mod_rewriting_an_entire_site

There&#039;s also a rule to add a trailing slash if it&#039;s been omitted, for example http://example.com/about would (should) get redirected to http://www.example.com/about/

Luckily for me CakePHP handles all the hardcore mod_rewriting! :-P So all I need to do is define a route and I&#039;m away! Haha!</description>
		<content:encoded><![CDATA[<p>I found this article a while back. It looks like it should do what you want.<br />
<a href="http://www.workingwith.me.uk/blog/software/open_source/apache/mod_rewriting_an_entire_site" rel="nofollow">http://www.workingwith.me.uk/blog/software/open_source/apache/mod_rewriting_an_entire_site</a></p>
<p>There&#8217;s also a rule to add a trailing slash if it&#8217;s been omitted, for example <a href="http://example.com/about" rel="nofollow">http://example.com/about</a> would (should) get redirected to <a href="http://www.example.com/about/" rel="nofollow">http://www.example.com/about/</a></p>
<p>Luckily for me CakePHP handles all the hardcore mod_rewriting! <img src='http://jamienay.com/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' />  So all I need to do is define a route and I&#8217;m away! Haha!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
