<?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: Redirection Plugin and Regexes</title>
	<atom:link href="http://austingulati.com/2009/02/redirection-plugin-and-regexes/feed/" rel="self" type="application/rss+xml" />
	<link>http://austingulati.com/2009/02/redirection-plugin-and-regexes/</link>
	<description>Web Developer and Designer</description>
	<lastBuildDate>Fri, 10 Feb 2012 08:24:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Austin</title>
		<link>http://austingulati.com/2009/02/redirection-plugin-and-regexes/comment-page-2/#comment-4730</link>
		<dc:creator>Austin</dc:creator>
		<pubDate>Wed, 05 Oct 2011 01:24:18 +0000</pubDate>
		<guid isPermaLink="false">http://gulati.info/?p=625#comment-4730</guid>
		<description>Hi Geoff,

Yes, this is possible. Try something like this:

Source URL: *
Target URL: http://newdomain.com/

To get this to work, though, you will need to have two totally separate sets of WordPress files. The old one will have to be running the redirection plugin with the above redirection and the new one will be totally independent from that. I&#039;m pretty sure that WordPress handles things like this on its own. What happens when you access a post via the old domain?

Hopefully this helps. Sorry about the delay, have been neglecting my blog somewhat.</description>
		<content:encoded><![CDATA[<p>Hi Geoff,</p>
<p>Yes, this is possible. Try something like this:</p>
<p>Source URL: *<br />
Target URL: <a href="http://newdomain.com/" rel="nofollow">http://newdomain.com/</a></p>
<p>To get this to work, though, you will need to have two totally separate sets of WordPress files. The old one will have to be running the redirection plugin with the above redirection and the new one will be totally independent from that. I&#8217;m pretty sure that WordPress handles things like this on its own. What happens when you access a post via the old domain?</p>
<p>Hopefully this helps. Sorry about the delay, have been neglecting my blog somewhat.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geoff</title>
		<link>http://austingulati.com/2009/02/redirection-plugin-and-regexes/comment-page-2/#comment-4728</link>
		<dc:creator>Geoff</dc:creator>
		<pubDate>Tue, 13 Sep 2011 01:54:38 +0000</pubDate>
		<guid isPermaLink="false">http://gulati.info/?p=625#comment-4728</guid>
		<description>Is it possible to use Redirection to update an entire domain? I had a blog at initialdomain.com - now I&#039;ve switched it to secondomain.com.  The old domain is still pointing to the seconddomain but when the visits come in I want them to be redirected so eventually everything is 301ed and seconddomain.com is what shows up in all of the search engines.  Basically, I just migrated the blog from one domain to another.</description>
		<content:encoded><![CDATA[<p>Is it possible to use Redirection to update an entire domain? I had a blog at initialdomain.com &#8211; now I&#8217;ve switched it to secondomain.com.  The old domain is still pointing to the seconddomain but when the visits come in I want them to be redirected so eventually everything is 301ed and seconddomain.com is what shows up in all of the search engines.  Basically, I just migrated the blog from one domain to another.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Austin</title>
		<link>http://austingulati.com/2009/02/redirection-plugin-and-regexes/comment-page-2/#comment-4721</link>
		<dc:creator>Austin</dc:creator>
		<pubDate>Mon, 08 Aug 2011 17:39:02 +0000</pubDate>
		<guid isPermaLink="false">http://gulati.info/?p=625#comment-4721</guid>
		<description>Hi there,

Glad that you could get things fixed!</description>
		<content:encoded><![CDATA[<p>Hi there,</p>
<p>Glad that you could get things fixed!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cybearDJM</title>
		<link>http://austingulati.com/2009/02/redirection-plugin-and-regexes/comment-page-2/#comment-4720</link>
		<dc:creator>cybearDJM</dc:creator>
		<pubDate>Mon, 08 Aug 2011 16:01:44 +0000</pubDate>
		<guid isPermaLink="false">http://gulati.info/?p=625#comment-4720</guid>
		<description>OK, just found 2 things I did wrong:
* escape the question mark =&gt; \?
* order regex expressions in the dashboard from the most specific to the less one.
Pb solved!
Sincerely
DJM</description>
		<content:encoded><![CDATA[<p>OK, just found 2 things I did wrong:<br />
* escape the question mark =&gt; \?<br />
* order regex expressions in the dashboard from the most specific to the less one.<br />
Pb solved!<br />
Sincerely<br />
DJM</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cybearDJM</title>
		<link>http://austingulati.com/2009/02/redirection-plugin-and-regexes/comment-page-2/#comment-4719</link>
		<dc:creator>cybearDJM</dc:creator>
		<pubDate>Mon, 08 Aug 2011 14:03:01 +0000</pubDate>
		<guid isPermaLink="false">http://gulati.info/?p=625#comment-4719</guid>
		<description>Testing further, same pb with
/Index.php?p=(.*) =&gt; /?p=$1

Nothing happens... ??? :(</description>
		<content:encoded><![CDATA[<p>Testing further, same pb with<br />
/Index.php?p=(.*) =&gt; /?p=$1</p>
<p>Nothing happens&#8230; ??? :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cybearDJM</title>
		<link>http://austingulati.com/2009/02/redirection-plugin-and-regexes/comment-page-2/#comment-4718</link>
		<dc:creator>cybearDJM</dc:creator>
		<pubDate>Mon, 08 Aug 2011 13:51:03 +0000</pubDate>
		<guid isPermaLink="false">http://gulati.info/?p=625#comment-4718</guid>
		<description>Hi, thanks for your post &amp; help here.
I changed the organization of my blog and am testing the plugin, with great results so far...
e.g. this works fine: /(\d*)/(\d*)/(.*) =&gt; $3
But i can&#039;t have this 2nd one to work.
/Index.php?tag=(.*) =&gt; /tag/$1 (e.g. &lt;a href=&quot;http://www.kotonteej.com/Index.php?tag=togo&quot; rel=&quot;nofollow&quot;&gt;bad&lt;/a&gt; that should be redirected to &lt;a href=&quot;http://www.kotonteej.com/tag/togo&quot; rel=&quot;nofollow&quot;&gt;correct&lt;/a&gt; )
It&#039;s not that the expression gives strange or bad results, it&#039;s not fired at all... did I forget something? the regex checkbox is checked...
Nothing happens, and I&#039;m wondering why...

sincerely
DJM</description>
		<content:encoded><![CDATA[<p>Hi, thanks for your post &amp; help here.<br />
I changed the organization of my blog and am testing the plugin, with great results so far&#8230;<br />
e.g. this works fine: /(\d*)/(\d*)/(.*) =&gt; $3<br />
But i can&#8217;t have this 2nd one to work.<br />
/Index.php?tag=(.*) =&gt; /tag/$1 (e.g. <a href="http://www.kotonteej.com/Index.php?tag=togo" rel="nofollow">bad</a> that should be redirected to <a href="http://www.kotonteej.com/tag/togo" rel="nofollow">correct</a> )<br />
It&#8217;s not that the expression gives strange or bad results, it&#8217;s not fired at all&#8230; did I forget something? the regex checkbox is checked&#8230;<br />
Nothing happens, and I&#8217;m wondering why&#8230;</p>
<p>sincerely<br />
DJM</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://austingulati.com/2009/02/redirection-plugin-and-regexes/comment-page-2/#comment-4716</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Fri, 05 Aug 2011 13:54:22 +0000</pubDate>
		<guid isPermaLink="false">http://gulati.info/?p=625#comment-4716</guid>
		<description>Austin, thanks for the tutorial.  I am having a heck of a time trying to figure his one out, maybe you can help. I am trying to use the plugin to redirect a bunch of old user account urls to /

/~USERNAME

Many have subdirectories under that one:

/~USERNAME/SUB/SUB 

I have tried using the regex functionality. The tilda seems to cause some escaping in the plugin, so I tried escaping them...with no luck.  My last attempt was:

/\~[a-zA-Z].*

but, no love.

Thanks,

Jason</description>
		<content:encoded><![CDATA[<p>Austin, thanks for the tutorial.  I am having a heck of a time trying to figure his one out, maybe you can help. I am trying to use the plugin to redirect a bunch of old user account urls to /</p>
<p>/~USERNAME</p>
<p>Many have subdirectories under that one:</p>
<p>/~USERNAME/SUB/SUB </p>
<p>I have tried using the regex functionality. The tilda seems to cause some escaping in the plugin, so I tried escaping them&#8230;with no luck.  My last attempt was:</p>
<p>/\~[a-zA-Z].*</p>
<p>but, no love.</p>
<p>Thanks,</p>
<p>Jason</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Austin</title>
		<link>http://austingulati.com/2009/02/redirection-plugin-and-regexes/comment-page-2/#comment-4707</link>
		<dc:creator>Austin</dc:creator>
		<pubDate>Mon, 04 Jul 2011 23:59:50 +0000</pubDate>
		<guid isPermaLink="false">http://gulati.info/?p=625#comment-4707</guid>
		<description>Hi Greg,

Try this: [a-z-]</description>
		<content:encoded><![CDATA[<p>Hi Greg,</p>
<p>Try this: [a-z-]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Austin</title>
		<link>http://austingulati.com/2009/02/redirection-plugin-and-regexes/comment-page-2/#comment-4706</link>
		<dc:creator>Austin</dc:creator>
		<pubDate>Mon, 04 Jul 2011 23:59:29 +0000</pubDate>
		<guid isPermaLink="false">http://gulati.info/?p=625#comment-4706</guid>
		<description>Hi Jane,

Try this:

Source URL: /admin/publish?id=(.*)
Target URL: /?p=$1

Source URL: /admin/publish?slug=(.*)
Target URL: /$1</description>
		<content:encoded><![CDATA[<p>Hi Jane,</p>
<p>Try this:</p>
<p>Source URL: /admin/publish?id=(.*)<br />
Target URL: /?p=$1</p>
<p>Source URL: /admin/publish?slug=(.*)<br />
Target URL: /$1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg Turner</title>
		<link>http://austingulati.com/2009/02/redirection-plugin-and-regexes/comment-page-2/#comment-4703</link>
		<dc:creator>Greg Turner</dc:creator>
		<pubDate>Wed, 22 Jun 2011 12:40:08 +0000</pubDate>
		<guid isPermaLink="false">http://gulati.info/?p=625#comment-4703</guid>
		<description>Thank you for this post.  Question about reg exp.  I am using ([a-z]*) as part of my reg expression.  How do I change it so that a hyphen is also matched; in other words, how do I tell it to match any characters that are a hyphen or between a and z.  Thanks</description>
		<content:encoded><![CDATA[<p>Thank you for this post.  Question about reg exp.  I am using ([a-z]*) as part of my reg expression.  How do I change it so that a hyphen is also matched; in other words, how do I tell it to match any characters that are a hyphen or between a and z.  Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

