<?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 and 302 redirect problems fixed</title>
	<atom:link href="http://www.richardshepherd.com/htaccess-and-302-redirect-problems-fixed/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.richardshepherd.com/htaccess-and-302-redirect-problems-fixed/</link>
	<description>Making the web. Better looking.</description>
	<lastBuildDate>Sun, 25 Jul 2010 16:29:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Michl</title>
		<link>http://www.richardshepherd.com/htaccess-and-302-redirect-problems-fixed/comment-page-1/#comment-89</link>
		<dc:creator>Michl</dc:creator>
		<pubDate>Wed, 12 Aug 2009 20:50:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.growlingranger.com/?p=455#comment-89</guid>
		<description>Thanks!  I&#039;ve just uploaded it to my root folder.  I hope it doesn&#039;t take too long for the changes to appear.

Cheers!</description>
		<content:encoded><![CDATA[<p>Thanks!  I&#8217;ve just uploaded it to my root folder.  I hope it doesn&#8217;t take too long for the changes to appear.</p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich</title>
		<link>http://www.richardshepherd.com/htaccess-and-302-redirect-problems-fixed/comment-page-1/#comment-88</link>
		<dc:creator>Rich</dc:creator>
		<pubDate>Wed, 12 Aug 2009 20:02:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.growlingranger.com/?p=455#comment-88</guid>
		<description>The following code in a new .htaccess file should work:

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www.twilight-gossip.com [NC]
RewriteRule ^(.*)$ http://twilight-gossip.com/$1 [L,R=301]

Hope that helps!</description>
		<content:encoded><![CDATA[<p>The following code in a new .htaccess file should work:</p>
<p>RewriteEngine On<br />
RewriteBase /<br />
RewriteCond %{HTTP_HOST} ^www.twilight-gossip.com [NC]<br />
RewriteRule ^(.*)$ <a href="http://twilight-gossip.com/$1" rel="nofollow">http://twilight-gossip.com/$1</a> [L,R=301]</p>
<p>Hope that helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michl</title>
		<link>http://www.richardshepherd.com/htaccess-and-302-redirect-problems-fixed/comment-page-1/#comment-87</link>
		<dc:creator>Michl</dc:creator>
		<pubDate>Wed, 12 Aug 2009 13:50:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.growlingranger.com/?p=455#comment-87</guid>
		<description>I currently do not have an htaccess file in my root folder.  Would I only need to copy and paste the code you have above or do I need to add other stuff?
Thank you for all your help.</description>
		<content:encoded><![CDATA[<p>I currently do not have an htaccess file in my root folder.  Would I only need to copy and paste the code you have above or do I need to add other stuff?<br />
Thank you for all your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich</title>
		<link>http://www.richardshepherd.com/htaccess-and-302-redirect-problems-fixed/comment-page-1/#comment-85</link>
		<dc:creator>Rich</dc:creator>
		<pubDate>Wed, 12 Aug 2009 09:43:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.growlingranger.com/?p=455#comment-85</guid>
		<description>Hey Michl,

First of all, you have it the other way around. I wanted to include the &#039;www&#039;, but you want to exclude it from the URL. So, I&#039;m pretty sure that:

# RewriteCond %{HTTP_HOST} ^www.twilight-gossip.com [NC]
# RewriteRule ^(.*)$ http://twilight-gossip.com/$1 [L,R=301]

needs to be in an .htaccess file in the root of your server. You can just create a new one and upload it to the root via FTP or GoDaddy&#039;s control panel.

Let me know how you go!</description>
		<content:encoded><![CDATA[<p>Hey Michl,</p>
<p>First of all, you have it the other way around. I wanted to include the &#8216;www&#8217;, but you want to exclude it from the URL. So, I&#8217;m pretty sure that:</p>
<p># RewriteCond %{HTTP_HOST} ^www.twilight-gossip.com [NC]<br />
# RewriteRule ^(.*)$ <a href="http://twilight-gossip.com/$1" rel="nofollow">http://twilight-gossip.com/$1</a> [L,R=301]</p>
<p>needs to be in an .htaccess file in the root of your server. You can just create a new one and upload it to the root via FTP or GoDaddy&#8217;s control panel.</p>
<p>Let me know how you go!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michl</title>
		<link>http://www.richardshepherd.com/htaccess-and-302-redirect-problems-fixed/comment-page-1/#comment-86</link>
		<dc:creator>Michl</dc:creator>
		<pubDate>Wed, 12 Aug 2009 00:11:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.growlingranger.com/?p=455#comment-86</guid>
		<description>I&#039;m confused :(  If I go to web-sniffer.net it will show the website with a 302 redirect, so I downloaded the firefox plug-in to see what was up and I only saw a 200?
I&#039;m hosted with GoDaddy and only have an htaccess file in my wordpress blog which is located under twilight-gossip.com/exclusives.  Do I need to add another htaccess under my main page?  Or do I even need to do anything at all?
Thanks!</description>
		<content:encoded><![CDATA[<p>I&#8217;m confused :(  If I go to web-sniffer.net it will show the website with a 302 redirect, so I downloaded the firefox plug-in to see what was up and I only saw a 200?<br />
I&#8217;m hosted with GoDaddy and only have an htaccess file in my wordpress blog which is located under twilight-gossip.com/exclusives.  Do I need to add another htaccess under my main page?  Or do I even need to do anything at all?<br />
Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: paul</title>
		<link>http://www.richardshepherd.com/htaccess-and-302-redirect-problems-fixed/comment-page-1/#comment-84</link>
		<dc:creator>paul</dc:creator>
		<pubDate>Thu, 05 Mar 2009 18:38:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.growlingranger.com/?p=455#comment-84</guid>
		<description>thanks dude</description>
		<content:encoded><![CDATA[<p>thanks dude</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich</title>
		<link>http://www.richardshepherd.com/htaccess-and-302-redirect-problems-fixed/comment-page-1/#comment-82</link>
		<dc:creator>Rich</dc:creator>
		<pubDate>Mon, 02 Mar 2009 07:28:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.growlingranger.com/?p=455#comment-82</guid>
		<description>I added the code above the WordPress code, so it looks like this...

&lt;code&gt;
# Begin Ken Jones Code
RewriteEngine On

RewriteCond %{HTTP_HOST} ^growlingranger.com [NC]
RewriteRule ^(.*)$ http://www.growlingranger.com/$1 [L,R=301]


# BEGIN WordPress
&lt;IfModule mod_rewrite.c&gt;
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
&lt;/IfModule&gt;

# END WordPress
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>I added the code above the WordPress code, so it looks like this&#8230;</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># Begin Ken Jones Code<br />
RewriteEngine On<br />
<br />
RewriteCond %{HTTP_HOST} ^growlingranger.com [NC]<br />
RewriteRule ^(.*)$ http://www.growlingranger.com/$1 [L,R=301]<br />
<br />
<br />
# BEGIN WordPress<br />
&lt;IfModule mod_rewrite.c&gt;<br />
RewriteEngine On<br />
RewriteBase /<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteRule . /index.php [L]<br />
&lt;/IfModule&gt;<br />
<br />
# END WordPress</div></td></tr></tbody></table></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: paul</title>
		<link>http://www.richardshepherd.com/htaccess-and-302-redirect-problems-fixed/comment-page-1/#comment-81</link>
		<dc:creator>paul</dc:creator>
		<pubDate>Tue, 24 Feb 2009 14:16:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.growlingranger.com/?p=455#comment-81</guid>
		<description>do you need replace existing code or just add the 301 code underneath the original?</description>
		<content:encoded><![CDATA[<p>do you need replace existing code or just add the 301 code underneath the original?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich</title>
		<link>http://www.richardshepherd.com/htaccess-and-302-redirect-problems-fixed/comment-page-1/#comment-83</link>
		<dc:creator>Rich</dc:creator>
		<pubDate>Fri, 20 Feb 2009 22:46:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.growlingranger.com/?p=455#comment-83</guid>
		<description>Google has caught up, so that&#039;s taken just two weeks. &quot;Not bad for a fatso&quot;.</description>
		<content:encoded><![CDATA[<p>Google has caught up, so that&#8217;s taken just two weeks. &#8220;Not bad for a fatso&#8221;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
