<?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>Comments on: Help me redirect my old URLs</title>
      <link>http://ask.metafilter.com/83582/Help-me-redirect-my-old-URLs/</link>
      <description>Comments on Ask MetaFilter post Help me redirect my old URLs</description>
	  	  <pubDate>Wed, 13 Feb 2008 16:00:00 -0800</pubDate>
      <lastBuildDate>Wed, 13 Feb 2008 16:00:00 -0800</lastBuildDate>
      <language>en-us</language>
	  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
	  <ttl>60</ttl>

<item>
  	<title>Question: Help me redirect my old URLs</title>
  	<link>http://ask.metafilter.com/83582/Help-me-redirect-my-old-URLs</link>	
  	<description>Help me redirect my old URLs. So we switched sites.  The old URL structure was:
&lt;br&gt;&lt;br&gt;
http://www.domain.com/media/paper143/news/2005/03/22/OutAndAbout/My.Old.South.Philly.Home-899896.shtml
&lt;br&gt;&lt;br&gt;
The new one is http://domain.com/2005/03/22/My-Old-South-Philly-Home
&lt;br&gt;&lt;br&gt;
What is the easiest way to redirect the old to the new?  Is there any way?(the old url is from an old CMS the new one is Wordpress)</description>
  	<guid isPermaLink="false">post:ask.metafilter.com,2008:site.83582</guid>
  	<pubDate>Wed, 13 Feb 2008 15:50:33 -0800</pubDate>
  	<dc:creator>Blandanomics</dc:creator>
	
	<category>url</category>
	
	<category>redirect</category>
	
</item>
<item>
  	<title>By: loiseau</title>
  	<link>http://ask.metafilter.com/83582/Help-me-redirect-my-old-URLs#1237480</link>	
  	<description>&lt;a href=&quot;http://urbangiraffe.com/plugins/redirection/&quot;&gt;Here&apos;s a Wordpress plugin.&lt;/a&gt; I have not  used it tho.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.83582-1237480</guid>
  	<pubDate>Wed, 13 Feb 2008 16:00:00 -0800</pubDate>
  	<dc:creator>loiseau</dc:creator>
</item>
<item>
  	<title>By: puddpunk</title>
  	<link>http://ask.metafilter.com/83582/Help-me-redirect-my-old-URLs#1237500</link>	
  	<description>If that wordpress plugin doesn&apos;t work out for you, you might have to create your own rules &lt;a href=&quot;http://corz.org/serv/tricks/htaccess2.php&quot;&gt;using ModRewrite&lt;/a&gt;. Make sure your host supports Modrewrite and your .htaccess is enabled. &lt;br&gt;
&lt;br&gt;
Note: there are probably already rules enabled to allow the clean urls provided by wordpress in the first place, you might just have to add some new ones.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.83582-1237500</guid>
  	<pubDate>Wed, 13 Feb 2008 16:25:59 -0800</pubDate>
  	<dc:creator>puddpunk</dc:creator>
</item>
<item>
  	<title>By: singingfish</title>
  	<link>http://ask.metafilter.com/83582/Help-me-redirect-my-old-URLs#1237510</link>	
  	<description>Mod-rewrite is your friend.&lt;br&gt;
&lt;br&gt;
The regular expression to rewrite is going to be something like the following (untested and perl regular expression syntax so probably wrong for mod_rewrite):&lt;br&gt;
&lt;br&gt;
from:&lt;br&gt;
&lt;br&gt;
http://www.domain.com/media/paper143/news/(\d{4}/\d{2}/\d{1,2})/OutAndAbout/(\w|\.)-\d+.shtml&lt;br&gt;
&lt;br&gt;
to:&lt;br&gt;
&lt;br&gt;
http://www.domain.com/$1/$2&lt;br&gt;
&lt;br&gt;
note you need an extra bit of logic to translate the dots in the first version of the end of the url ($2) to dashes in the new version.&lt;br&gt;
&lt;br&gt;
Anyway that&apos;s a start with mod_rewrite.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.83582-1237510</guid>
  	<pubDate>Wed, 13 Feb 2008 16:34:26 -0800</pubDate>
  	<dc:creator>singingfish</dc:creator>
</item>
<item>
  	<title>By: Taken Outtacontext</title>
  	<link>http://ask.metafilter.com/83582/Help-me-redirect-my-old-URLs#1238173</link>	
  	<description>How about a &lt;a href=&quot;http://www.isitebuild.com/301-redirect.htm&quot;&gt;301 redirect&lt;/a&gt;?</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.83582-1238173</guid>
  	<pubDate>Thu, 14 Feb 2008 10:12:33 -0800</pubDate>
  	<dc:creator>Taken Outtacontext</dc:creator>
</item>

    </channel>
</rss>
