<?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/"
xmlns:series="http://unfoldingneurons.com/"
> <channel><title>Comments on: No WWW Using&#160;.htaccess</title> <atom:link href="http://davidwalsh.name/no-www-using-htaccess-file/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/no-www-using-htaccess-file</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Wed, 23 May 2012 14:01:31 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: Matt</title><link>http://davidwalsh.name/no-www-using-htaccess-file#comment-29140</link> <dc:creator>Matt</dc:creator> <pubDate>Fri, 10 Feb 2012 20:39:19 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/no-www-using-htaccess-file/#comment-29140</guid> <description>Thanks David - this is the shortest and most concise explanation for running a site without WWW. It&#039;s working like a charm on one of our new sites!</description> <content:encoded><![CDATA[<p>Thanks David &#8211; this is the shortest and most concise explanation for running a site without WWW. It&#8217;s working like a charm on one of our new sites!</p> ]]></content:encoded> </item> <item><title>By: Rukki Odds</title><link>http://davidwalsh.name/no-www-using-htaccess-file#comment-13977</link> <dc:creator>Rukki Odds</dc:creator> <pubDate>Thu, 26 Nov 2009 14:33:38 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/no-www-using-htaccess-file/#comment-13977</guid> <description>Do not work for me :/ I&#039;m tired of trying to dissappear www from my domain address.However I have mod_rewrite enabled (I can still make my joomla have Use Apache mod_rewrite enabled)</description> <content:encoded><![CDATA[<p>Do not work for me :/ I&#8217;m tired of trying to dissappear www from my domain address.</p><p>However I have mod_rewrite enabled (I can still make my joomla have Use Apache mod_rewrite enabled)</p> ]]></content:encoded> </item> <item><title>By: Jow</title><link>http://davidwalsh.name/no-www-using-htaccess-file#comment-13915</link> <dc:creator>Jow</dc:creator> <pubDate>Tue, 24 Nov 2009 19:58:13 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/no-www-using-htaccess-file/#comment-13915</guid> <description>Hey, I don&#039;t think you need the &quot;RewriteBase /&quot; lin in there. It works fine for me without that line.</description> <content:encoded><![CDATA[<p>Hey, I don&#8217;t think you need the &#8220;RewriteBase /&#8221; lin in there. It works fine for me without that line.</p> ]]></content:encoded> </item> <item><title>By: Henry</title><link>http://davidwalsh.name/no-www-using-htaccess-file#comment-11786</link> <dc:creator>Henry</dc:creator> <pubDate>Wed, 09 Sep 2009 14:27:35 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/no-www-using-htaccess-file/#comment-11786</guid> <description>Hi,What then is the code if I have only one site on my server www.villa-stbarths.com but I want any-one typing just villa-stbarths.com to arrive on the index page at www.villa-stbarths.com/index.htm ?Thanks, Henry</description> <content:encoded><![CDATA[<p>Hi,</p><p>What then is the code if I have only one site on my server <a
href="http://www.villa-stbarths.com" rel="nofollow">http://www.villa-stbarths.com</a> but I want any-one typing just villa-stbarths.com to arrive on the index page at <a
href="http://www.villa-stbarths.com/index.htm" rel="nofollow">http://www.villa-stbarths.com/index.htm</a> ?</p><p>Thanks, Henry</p> ]]></content:encoded> </item> <item><title>By: epsi</title><link>http://davidwalsh.name/no-www-using-htaccess-file#comment-11584</link> <dc:creator>epsi</dc:creator> <pubDate>Fri, 28 Aug 2009 17:04:15 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/no-www-using-htaccess-file/#comment-11584</guid> <description>Thank you so much David.
Very useful to hide Joomla administrator App.I&#039;ve combined and put your tips here.
http://forum.joomla.org/viewtopic.php?f=432&amp;t=418458</description> <content:encoded><![CDATA[<p>Thank you so much David.<br
/> Very useful to hide Joomla administrator App.</p><p>I&#8217;ve combined and put your tips here.<br
/> <a
href="http://forum.joomla.org/viewtopic.php?f=432&#038;t=418458" rel="nofollow">http://forum.joomla.org/viewtopic.php?f=432&#038;t=418458</a></p> ]]></content:encoded> </item> <item><title>By: Sean K.</title><link>http://davidwalsh.name/no-www-using-htaccess-file#comment-11458</link> <dc:creator>Sean K.</dc:creator> <pubDate>Sat, 22 Aug 2009 15:09:32 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/no-www-using-htaccess-file/#comment-11458</guid> <description>So does it matter if google  site: only indexes the domain without www?  Example, I have channelkelley.com. All the pages are listed without the www, but none are listed when you use www.channelkelley.com. I guess that&#039;s fine if google penalizes for duped content. I just want to ensure I&#039;m getting the most mileage from the engines. :)</description> <content:encoded><![CDATA[<p>So does it matter if google  site: only indexes the domain without www?  Example, I have channelkelley.com. All the pages are listed without the www, but none are listed when you use <a
href="http://www.channelkelley.com" rel="nofollow">http://www.channelkelley.com</a>. I guess that&#8217;s fine if google penalizes for duped content. I just want to ensure I&#8217;m getting the most mileage from the engines. :)</p> ]]></content:encoded> </item> <item><title>By: Ahmed</title><link>http://davidwalsh.name/no-www-using-htaccess-file#comment-7818</link> <dc:creator>Ahmed</dc:creator> <pubDate>Mon, 16 Feb 2009 14:36:55 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/no-www-using-htaccess-file/#comment-7818</guid> <description>You can also use this:RewriteCond %{HTTP&#095;HOST} ^www.(.+)$ [NC]RewriteRule ^(.*)$ http://%1/$1 [R=301,L]</description> <content:encoded><![CDATA[<p>You can also use this:</p><p>RewriteCond %{HTTP&#95;HOST} ^www.(.+)$ [NC]</p><p>RewriteRule ^(.*)$ <a
href="http://%1/$1" rel="nofollow">http://%1/$1</a> [R=301,L]</p> ]]></content:encoded> </item> <item><title>By: Mike</title><link>http://davidwalsh.name/no-www-using-htaccess-file#comment-4463</link> <dc:creator>Mike</dc:creator> <pubDate>Thu, 08 Jan 2009 17:58:18 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/no-www-using-htaccess-file/#comment-4463</guid> <description>Heres an interesting one, I am in the process of moving a site from one host to another. My new server has apache userdir turned on so my site is visible onexampleserver.com/~mysite
and
mysite.comI have had a problem before with this sort of setup where google discovered both ways into the site and penalised me for duplicate content.Unfortunately I cannot turn Userdir off.Is there a way of preventing this sort of leak with htaccess?
Thanks for any help :D</description> <content:encoded><![CDATA[<p>Heres an interesting one, I am in the process of moving a site from one host to another. My new server has apache userdir turned on so my site is visible on</p><p>exampleserver.com/~mysite<br
/> and<br
/> mysite.com</p><p>I have had a problem before with this sort of setup where google discovered both ways into the site and penalised me for duplicate content.</p><p>Unfortunately I cannot turn Userdir off.</p><p>Is there a way of preventing this sort of leak with htaccess?<br
/> Thanks for any help :D</p> ]]></content:encoded> </item> <item><title>By: Skracanie adresów</title><link>http://davidwalsh.name/no-www-using-htaccess-file#comment-3072</link> <dc:creator>Skracanie adresów</dc:creator> <pubDate>Sun, 21 Sep 2008 10:07:23 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/no-www-using-htaccess-file/#comment-3072</guid> <description>@Leafnode stop exaggerate. RewriteEngine is the best way to do it.</description> <content:encoded><![CDATA[<p>@Leafnode stop exaggerate. RewriteEngine is the best way to do it.</p> ]]></content:encoded> </item> <item><title>By: Robert Dougan</title><link>http://davidwalsh.name/no-www-using-htaccess-file#comment-2360</link> <dc:creator>Robert Dougan</dc:creator> <pubDate>Sun, 20 Jul 2008 13:36:39 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/no-www-using-htaccess-file/#comment-2360</guid> <description>Very useful tip. Thanks!</description> <content:encoded><![CDATA[<p>Very useful tip. Thanks!</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 1/7 queries in 0.005 seconds using disk: basic
Object Caching 804/805 objects using disk: basic

Served from: davidwalsh.name @ 2012-05-23 11:14:51 -->
