<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel>
	  <title>Ask MetaFilter questions tagged with 301redirect</title>
      <link>http://ask.metafilter.com/tags/301redirect</link>
      <description>Questions tagged with '301redirect' at Ask MetaFilter.</description>
	  <pubDate>Tue, 13 Mar 2007 20:10:18 -0800</pubDate> <lastBuildDate>Tue, 13 Mar 2007 20:10:18 -0800</lastBuildDate>

      <language>en-us</language>
	  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
	  <ttl>60</ttl>	  
	<item>
	<title>I&apos;d like to redirect an entire directory to one specific file.</title>
	<link>http://ask.metafilter.com/58651/Id%2Dlike%2Dto%2Dredirect%2Dan%2Dentire%2Ddirectory%2Dto%2Done%2Dspecific%2Dfile</link>	
	<description>301 redirectrs in .htaccess: how do I redirect calendar/* to /calendar.html ?  I&apos;ve tried modifying various examples online and they result in either &quot;internal server error&quot; or a 404 caused by incorrectly redirecting /calendar/* to /calendar.html/* . Two examples from the experimentation (I&apos;m in over my head; I just want this to work):&lt;br&gt;
&lt;br&gt;
# redirect 301 /calendar http://www.domain.com/calendar.html&lt;br&gt;
# 404 due to mistake above.&lt;br&gt;
&lt;br&gt;
# RedirectMatch 301 ^/calendar/(.*).htm$ http://www.domain.com/calendar.html [L]&lt;br&gt;
# internal server error</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2007:site.58651</guid>
	<pubDate>Tue, 13 Mar 2007 20:10:18 -0800</pubDate>
	<category>301redirect</category>
	<category>htaccess</category>
	<category>redirect</category>
	<category>regex</category>
	<category>regularexpression</category>
	<category>resolved</category>
	<category>wildcard</category>
	<dc:creator>Tuwa</dc:creator>
	</item>
	
	</channel>
</rss>

