<?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: WordPress Plugin: BWB-ReWriter for Custom URL Rewriting</title>
	<atom:link href="http://www.whypad.com/posts/wordpress-plugin-url-rewrite/194/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.whypad.com/posts/wordpress-plugin-url-rewrite/194/</link>
	<description>Tools and Tricks for Life and Tech</description>
	<lastBuildDate>Mon, 23 Jan 2012 14:27:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Salman</title>
		<link>http://www.whypad.com/posts/wordpress-plugin-url-rewrite/194/comment-page-1/#comment-4080</link>
		<dc:creator>Salman</dc:creator>
		<pubDate>Tue, 27 Apr 2010 07:23:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.whypad.com/?p=194#comment-4080</guid>
		<description>STILL WAITING FOR ANY RESPONSE FOR THE ISSUE BELOW :(


**** I need a quick help *****

It didn’t work out that way. Even though the rewrite is mentioned when I used Rewrites Viewer Plugin by Dagon Design where wordpress listed the rewrite query as:

[videos/(.*)/(.*)/(.*)] =&gt; wp-content/themes/Videographer/yshortdown.php?yid=$matches[1]&amp;yfn=$matches[2]&amp;qua=$matches[3]

But it does not get rewritten. Seems another solution is needed. Thanks for help!</description>
		<content:encoded><![CDATA[<p>STILL WAITING FOR ANY RESPONSE FOR THE ISSUE BELOW <img src='http://www.whypad.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>**** I need a quick help *****</p>
<p>It didn’t work out that way. Even though the rewrite is mentioned when I used Rewrites Viewer Plugin by Dagon Design where wordpress listed the rewrite query as:</p>
<p>[videos/(.*)/(.*)/(.*)] =&gt; wp-content/themes/Videographer/yshortdown.php?yid=$matches[1]&amp;yfn=$matches[2]&amp;qua=$matches[3]</p>
<p>But it does not get rewritten. Seems another solution is needed. Thanks for help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Salman</title>
		<link>http://www.whypad.com/posts/wordpress-plugin-url-rewrite/194/comment-page-1/#comment-4075</link>
		<dc:creator>Salman</dc:creator>
		<pubDate>Mon, 26 Apr 2010 12:36:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.whypad.com/?p=194#comment-4075</guid>
		<description>**** I need a quick help *****

It didn’t work out that way. Even though the rewrite is mentioned when I used Rewrites Viewer Plugin by Dagon Design where wordpress listed the rewrite query as:

[videos/(.*)/(.*)/(.*)] =&gt; wp-content/themes/Videographer/yshortdown.php?yid=$matches[1]&amp;yfn=$matches[2]&amp;qua=$matches[3]

But it does not get rewritten. Seems another solution is needed. Thanks for help!</description>
		<content:encoded><![CDATA[<p>**** I need a quick help *****</p>
<p>It didn’t work out that way. Even though the rewrite is mentioned when I used Rewrites Viewer Plugin by Dagon Design where wordpress listed the rewrite query as:</p>
<p>[videos/(.*)/(.*)/(.*)] =&gt; wp-content/themes/Videographer/yshortdown.php?yid=$matches[1]&amp;yfn=$matches[2]&amp;qua=$matches[3]</p>
<p>But it does not get rewritten. Seems another solution is needed. Thanks for help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: agustinh</title>
		<link>http://www.whypad.com/posts/wordpress-plugin-url-rewrite/194/comment-page-1/#comment-3780</link>
		<dc:creator>agustinh</dc:creator>
		<pubDate>Wed, 10 Feb 2010 13:09:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.whypad.com/?p=194#comment-3780</guid>
		<description>Awesome. Thank you very much for this plugin.</description>
		<content:encoded><![CDATA[<p>Awesome. Thank you very much for this plugin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TheToolWiz</title>
		<link>http://www.whypad.com/posts/wordpress-plugin-url-rewrite/194/comment-page-1/#comment-3620</link>
		<dc:creator>TheToolWiz</dc:creator>
		<pubDate>Fri, 25 Dec 2009 10:19:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.whypad.com/?p=194#comment-3620</guid>
		<description>whoops ... 

It seems there are two folders in the zip file: 

/bwb-rewriter/bwb-rewriter/bwb-rewriter.php

I moved the file up:

/bwb-rewriter/bwb-rewriter.php

and it installs just fine.

(I used the Add New function in the Plugins admin page, and selected Upload, used Browse to find the .zip file, then installed it.  You might want to remove one of the folders.)</description>
		<content:encoded><![CDATA[<p>whoops &#8230; </p>
<p>It seems there are two folders in the zip file: </p>
<p>/bwb-rewriter/bwb-rewriter/bwb-rewriter.php</p>
<p>I moved the file up:</p>
<p>/bwb-rewriter/bwb-rewriter.php</p>
<p>and it installs just fine.</p>
<p>(I used the Add New function in the Plugins admin page, and selected Upload, used Browse to find the .zip file, then installed it.  You might want to remove one of the folders.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TheToolWiz</title>
		<link>http://www.whypad.com/posts/wordpress-plugin-url-rewrite/194/comment-page-1/#comment-3619</link>
		<dc:creator>TheToolWiz</dc:creator>
		<pubDate>Fri, 25 Dec 2009 10:13:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.whypad.com/?p=194#comment-3619</guid>
		<description>Hi, I&#039;ve been searching around for a while for something that lets me pass in some parameters to page, and this is the only thing I&#039;ve found!  It looks great!

However, I&#039;m running WP V2.9 and when I try to activate the plugin, I get an error saying headers are missing.  

Any solution?

Thanks
-David</description>
		<content:encoded><![CDATA[<p>Hi, I&#8217;ve been searching around for a while for something that lets me pass in some parameters to page, and this is the only thing I&#8217;ve found!  It looks great!</p>
<p>However, I&#8217;m running WP V2.9 and when I try to activate the plugin, I get an error saying headers are missing.  </p>
<p>Any solution?</p>
<p>Thanks<br />
-David</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: san</title>
		<link>http://www.whypad.com/posts/wordpress-plugin-url-rewrite/194/comment-page-1/#comment-3456</link>
		<dc:creator>san</dc:creator>
		<pubDate>Thu, 19 Nov 2009 07:57:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.whypad.com/?p=194#comment-3456</guid>
		<description>Hi, i&#039;ve posted my problem earlier.

Now, the function gets called, but i&#039;m getting the below error.
Fatal error: Call to a member function preg_index() on a non-object in</description>
		<content:encoded><![CDATA[<p>Hi, i&#8217;ve posted my problem earlier.</p>
<p>Now, the function gets called, but i&#8217;m getting the below error.<br />
Fatal error: Call to a member function preg_index() on a non-object in</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl Jones</title>
		<link>http://www.whypad.com/posts/wordpress-plugin-url-rewrite/194/comment-page-1/#comment-3367</link>
		<dc:creator>Karl Jones</dc:creator>
		<pubDate>Wed, 04 Nov 2009 14:35:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.whypad.com/?p=194#comment-3367</guid>
		<description>Hi Byron,

I got it working.  

You&#039;ve created a powerful and much-needed plugin, thanks again for making this happen.

Karl</description>
		<content:encoded><![CDATA[<p>Hi Byron,</p>
<p>I got it working.  </p>
<p>You&#8217;ve created a powerful and much-needed plugin, thanks again for making this happen.</p>
<p>Karl</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: san</title>
		<link>http://www.whypad.com/posts/wordpress-plugin-url-rewrite/194/comment-page-1/#comment-3366</link>
		<dc:creator>san</dc:creator>
		<pubDate>Wed, 04 Nov 2009 12:40:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.whypad.com/?p=194#comment-3366</guid>
		<description>hi,

i&#039;m not able to use the plugin. i need the following url 
http://mysite.com/?page_id=29&amp;c_id=1

to be changed to 
http://mysite.com/pagename/1

I used the above set up, but my function bwb_add_rewrite_rules() is not calling. When i echo variable inside it it doesn&#039;t get displayed. 

Is my installation has some problem?

I&#039;m not using Permalinks also.

When i use Permalinks, i&#039;m able to get the url as

http://mysite.com/pagename/?c_id=1 - which doesn&#039;t satisfy me.</description>
		<content:encoded><![CDATA[<p>hi,</p>
<p>i&#8217;m not able to use the plugin. i need the following url<br />
<a href="http://mysite.com/?page_id=29&#038;c_id=1" rel="nofollow">http://mysite.com/?page_id=29&#038;c_id=1</a></p>
<p>to be changed to<br />
<a href="http://mysite.com/pagename/1" rel="nofollow">http://mysite.com/pagename/1</a></p>
<p>I used the above set up, but my function bwb_add_rewrite_rules() is not calling. When i echo variable inside it it doesn&#8217;t get displayed. </p>
<p>Is my installation has some problem?</p>
<p>I&#8217;m not using Permalinks also.</p>
<p>When i use Permalinks, i&#8217;m able to get the url as</p>
<p><a href="http://mysite.com/pagename/?c_id=1" rel="nofollow">http://mysite.com/pagename/?c_id=1</a> &#8211; which doesn&#8217;t satisfy me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob Sherron</title>
		<link>http://www.whypad.com/posts/wordpress-plugin-url-rewrite/194/comment-page-1/#comment-3346</link>
		<dc:creator>Bob Sherron</dc:creator>
		<pubDate>Fri, 23 Oct 2009 15:27:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.whypad.com/?p=194#comment-3346</guid>
		<description>Hey, nice writeup, and great support in the comments.  I have a very similar situation to what you put forth here, with the exception that as you go further down the url, the parameters become optional.  I handled this by writing three rules, each one deals with the shorter url. Like so:

$new_rules = array(
		&#039;our-network/(.*)/(.*)/(.*)&#039; =&gt; &#039;index.php?page_id=7&amp;region=&#039;.
		$wp_rewrite-&gt;preg_index(1).&#039;&amp;subregion=&#039;.
		$wp_rewrite-&gt;preg_index(2).&#039;&amp;city=&#039;.
		$wp_rewrite-&gt;preg_index(3),
		&#039;our-network/(.*)/(.*)&#039; =&gt; &#039;index.php?page_id=7&amp;region=&#039;.
		$wp_rewrite-&gt;preg_index(1).&#039;&amp;subregion=&#039;.
		$wp_rewrite-&gt;preg_index(2),
		&#039;our-network/(.*)&#039; =&gt; &#039;index.php?page_id=7&amp;region=&#039;.
		$wp_rewrite-&gt;preg_index(1)
		
	);

There&#039;s probably a more elegant way to do this with the regex, but it worked for me. The kicker is that if you go the other way, it doesn&#039;t work at all, so order of rule addition is definitely in play.

Thanks for the tip!</description>
		<content:encoded><![CDATA[<p>Hey, nice writeup, and great support in the comments.  I have a very similar situation to what you put forth here, with the exception that as you go further down the url, the parameters become optional.  I handled this by writing three rules, each one deals with the shorter url. Like so:</p>
<p>$new_rules = array(<br />
		&#8216;our-network/(.*)/(.*)/(.*)&#8217; =&gt; &#8216;index.php?page_id=7&amp;region=&#8217;.<br />
		$wp_rewrite-&gt;preg_index(1).&#8217;&amp;subregion=&#8217;.<br />
		$wp_rewrite-&gt;preg_index(2).&#8217;&amp;city=&#8217;.<br />
		$wp_rewrite-&gt;preg_index(3),<br />
		&#8216;our-network/(.*)/(.*)&#8217; =&gt; &#8216;index.php?page_id=7&amp;region=&#8217;.<br />
		$wp_rewrite-&gt;preg_index(1).&#8217;&amp;subregion=&#8217;.<br />
		$wp_rewrite-&gt;preg_index(2),<br />
		&#8216;our-network/(.*)&#8217; =&gt; &#8216;index.php?page_id=7&amp;region=&#8217;.<br />
		$wp_rewrite-&gt;preg_index(1)</p>
<p>	);</p>
<p>There&#8217;s probably a more elegant way to do this with the regex, but it worked for me. The kicker is that if you go the other way, it doesn&#8217;t work at all, so order of rule addition is definitely in play.</p>
<p>Thanks for the tip!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl Jones</title>
		<link>http://www.whypad.com/posts/wordpress-plugin-url-rewrite/194/comment-page-1/#comment-3313</link>
		<dc:creator>Karl Jones</dc:creator>
		<pubDate>Wed, 14 Oct 2009 16:52:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.whypad.com/?p=194#comment-3313</guid>
		<description>I am eagerly awaiting the latest version of BWB-ReWriter. If you need beta testers, call on me, I&#039;d be happy to help.</description>
		<content:encoded><![CDATA[<p>I am eagerly awaiting the latest version of BWB-ReWriter. If you need beta testers, call on me, I&#8217;d be happy to help.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

