<?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:icbm="http://postneo.com/icbm/" 
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/" 
	xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" 
	xmlns:wfw="http://wellformedweb.org/CommentAPI/" >

<channel>
	<title>Htaccess</title>
	<link>http://www.ngrhodes.co.uk/category-170-htaccess</link>
	<description></description>
	<language>en</language>
	<copyright>2008 NickR</copyright>
	<managingEditor>unknown_webmaster@acme.heaven</managingEditor>
	<icbm:latitude>53.8481</icbm:latitude>
	<icbm:longitude>-1.829</icbm:longitude>
	<lastBuildDate>Thu, 08 Jan 2009 18:19:14 GMT</lastBuildDate>
	<generator>Yet Another Community System</generator>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>59</ttl>

 <item>
		<title>NGRhodes.co.uk htaccess domain redirects the easy way</title>
		<link>http://www.ngrhodes.co.uk/article-153-ngrhodes.co.uk-htaccess-domain-redirects-the-easy-way</link>
		<guid isPermaLink="true">http://www.ngrhodes.co.uk/article-153-ngrhodes.co.uk-htaccess-domain-redirects-the-easy-way</guid>
		<description>I have decided to update my domain to www.NGRhodes.co.uk . My motivation for doing this was simply picking something that is more memorable,  rolls off the tongue easier, but at the same time not too dissimilar to my previous domain name.

I had a quick look for .htaccess rules and found one simple easy way to redirect any domain and redirect the canonical non-www to www. RewriteCond %{HTTP_HOST} !^www.domain.com$  
RewriteRule ^(.*)$ http://www.domain.com/$1   (from redirect www and no www)

This rule simply redirects anything that is NOT my desired domain ... more </description>
		<dc:creator>N1ckR</dc:creator>
		<category>Blog</category>
		<pubDate>Thu, 17 Apr 2008 14:47:47 GMT</pubDate>
		<comments>http://www.ngrhodes.co.uk/article-153-ngrhodes.co.uk-htaccess-domain-redirects-the-easy-way#comments</comments>
		<slash:comments>0</slash:comments>
		<wfw:comment>http://www.ngrhodes.co.uk/comments/post.php/article/153</wfw:comment>
		<wfw:commentRss>http://www.ngrhodes.co.uk/comments/feed.php/article/153</wfw:commentRss>
		<trackback:ping>http://www.ngrhodes.co.uk/links/trackback.php?anchor=article%3A153</trackback:ping>
	</item>

</channel>
</rss>