<?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>CMS Jam &#187; mod_rewrite</title>
	<atom:link href="http://cmsjam.com/tag/mod_rewrite/feed/" rel="self" type="application/rss+xml" />
	<link>http://cmsjam.com</link>
	<description>All about building and managing your website</description>
	<lastBuildDate>Fri, 15 Apr 2011 10:30:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How to remove www from a domain</title>
		<link>http://cmsjam.com/how-to-remove-www-from-a-domain/</link>
		<comments>http://cmsjam.com/how-to-remove-www-from-a-domain/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 20:52:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Server Configuration]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[add www to domain]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[remove www from domain]]></category>

		<guid isPermaLink="false">http://cmsjam.com/?p=53</guid>
		<description><![CDATA[Want an easy way to make sure your visitors always see http://yourdomain.com instead of http://www.yourdomain.com? Here&#8217;s how to automatically remove the www from your domain (or vice versa). First, edit (or create) your .htaccess file, using mod_rewrite to either remove the www from, or add it to your domain. To remove the www from your <a href="http://cmsjam.com/how-to-remove-www-from-a-domain/" class="more-link">More &#62;</a>]]></description>
			<content:encoded><![CDATA[<p>Want an easy way to make sure your visitors always see http://yourdomain.com instead of http://www.yourdomain.com? Here&#8217;s how to automatically remove the www from your domain  (or vice versa).</p>
<p>First, edit (or create) your .htaccess file, using mod_rewrite to either remove the www from, or add it to your domain.</p>
<p>To remove the www from your domain:</p>
<pre>RewriteEngine On
RewriteCond %{HTTP_HOST} www.example\.com
RewriteRule (.*) http://example.com/$1 [R=301,L]</pre>
<p>To add the www to your domain:</p>
<pre>RewriteEngine On
RewriteCond %{HTTP_HOST} example\.com
RewriteRule (.*) http://www.example.com/$1 [R=301,L]</pre>
<p>Next, simply upload your .htaccess file to the root directory of your <a href="http://www.kqzyfj.com/kl70p-85-7NRQSSSQQNPOSOWSWS?sid=WDN" rel='nofollow' >web server</a> and you should be all set. Be sure to give it a quick test and make sure everything works properly.</p>
]]></content:encoded>
			<wfw:commentRss>http://cmsjam.com/how-to-remove-www-from-a-domain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

