<?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- 301 Redirect An Entire Directory / Folder</title>
	<atom:link href="http://www.brightcherry.co.uk/scribbles/htaccess-301-redirect-an-entire-directory-folder/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brightcherry.co.uk/scribbles/htaccess-301-redirect-an-entire-directory-folder/</link>
	<description></description>
	<lastBuildDate>Sat, 21 Jan 2012 16:15:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Prashant</title>
		<link>http://www.brightcherry.co.uk/scribbles/htaccess-301-redirect-an-entire-directory-folder/#comment-1253</link>
		<dc:creator>Prashant</dc:creator>
		<pubDate>Tue, 11 Jan 2011 13:21:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.brightcherry.co.uk/scribbles/?p=184#comment-1253</guid>
		<description>ya it works for me...</description>
		<content:encoded><![CDATA[<p>ya it works for me&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cesar</title>
		<link>http://www.brightcherry.co.uk/scribbles/htaccess-301-redirect-an-entire-directory-folder/#comment-1250</link>
		<dc:creator>Cesar</dc:creator>
		<pubDate>Thu, 06 Jan 2011 23:06:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.brightcherry.co.uk/scribbles/?p=184#comment-1250</guid>
		<description>Just what I needed to redirect folders in my website.

Thanks for sharing!</description>
		<content:encoded><![CDATA[<p>Just what I needed to redirect folders in my website.</p>
<p>Thanks for sharing!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse Badger</title>
		<link>http://www.brightcherry.co.uk/scribbles/htaccess-301-redirect-an-entire-directory-folder/#comment-1204</link>
		<dc:creator>Jesse Badger</dc:creator>
		<pubDate>Wed, 22 Dec 2010 06:26:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.brightcherry.co.uk/scribbles/?p=184#comment-1204</guid>
		<description>RewriteEngine on
RewriteBase /
RewriteRule ^old_dir/(.*)$ http://www.example.com/new_dir/$1 [R=301,L]

Is the correct code to be using</description>
		<content:encoded><![CDATA[<p>RewriteEngine on<br />
RewriteBase /<br />
RewriteRule ^old_dir/(.*)$ <a href="http://www.example.com/new_dir/$1" rel="nofollow">http://www.example.com/new_dir/$1</a> [R=301,L]</p>
<p>Is the correct code to be using</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: web marketing</title>
		<link>http://www.brightcherry.co.uk/scribbles/htaccess-301-redirect-an-entire-directory-folder/#comment-1203</link>
		<dc:creator>web marketing</dc:creator>
		<pubDate>Wed, 22 Dec 2010 01:42:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.brightcherry.co.uk/scribbles/?p=184#comment-1203</guid>
		<description>Yeah, doesn&#039;t work for me either.

When I use that code it does:

domain.com/foldertoredirect/crap/

to 

domain.com/crap/

I can&#039;t get rid of all the other variables. I want to redirect the entire folder contents and any possible combination to the root domain page.</description>
		<content:encoded><![CDATA[<p>Yeah, doesn&#8217;t work for me either.</p>
<p>When I use that code it does:</p>
<p>domain.com/foldertoredirect/crap/</p>
<p>to </p>
<p>domain.com/crap/</p>
<p>I can&#8217;t get rid of all the other variables. I want to redirect the entire folder contents and any possible combination to the root domain page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Milan</title>
		<link>http://www.brightcherry.co.uk/scribbles/htaccess-301-redirect-an-entire-directory-folder/#comment-870</link>
		<dc:creator>Milan</dc:creator>
		<pubDate>Wed, 30 Dec 2009 13:40:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.brightcherry.co.uk/scribbles/?p=184#comment-870</guid>
		<description>For me it doesn&#039;t work as in your example. All redirections go to http://www.example.com/new_dir/ no matter what page from http://www.example.com/old_dir/ I open. 

What I wanted is that http://www.example.com/old_dir/somepage.html redirects to http://www.example.com/new_dir/somepage.html

Any idea for solution?</description>
		<content:encoded><![CDATA[<p>For me it doesn&#8217;t work as in your example. All redirections go to <a href="http://www.example.com/new_dir/" rel="nofollow">http://www.example.com/new_dir/</a> no matter what page from <a href="http://www.example.com/old_dir/" rel="nofollow">http://www.example.com/old_dir/</a> I open. </p>
<p>What I wanted is that <a href="http://www.example.com/old_dir/somepage.html" rel="nofollow">http://www.example.com/old_dir/somepage.html</a> redirects to <a href="http://www.example.com/new_dir/somepage.html" rel="nofollow">http://www.example.com/new_dir/somepage.html</a></p>
<p>Any idea for solution?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

