<?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: Getting rid of /forums/ and /topic/ from bbPress permalinks &#8211; Updated Plugin</title>
	<atom:link href="http://blog.markroberthenderson.com/getting-rid-of-forums-and-topic-from-bbpress-permalinks-updated-plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.markroberthenderson.com/getting-rid-of-forums-and-topic-from-bbpress-permalinks-updated-plugin/</link>
	<description>The greatest adventures in the history of LAMP development</description>
	<lastBuildDate>Thu, 15 Apr 2010 15:53:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mr Pelle</title>
		<link>http://blog.markroberthenderson.com/getting-rid-of-forums-and-topic-from-bbpress-permalinks-updated-plugin/comment-page-1/#comment-44</link>
		<dc:creator>Mr Pelle</dc:creator>
		<pubDate>Thu, 15 Apr 2010 15:53:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.markroberthenderson.com/?p=55#comment-44</guid>
		<description>No answer, so I made a plugin upload request today: &quot;Nicer Permalinks&quot; will be online soon! ^_^</description>
		<content:encoded><![CDATA[<p>No answer, so I made a plugin upload request today: &#8220;Nicer Permalinks&#8221; will be online soon! ^_^</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mr Pelle</title>
		<link>http://blog.markroberthenderson.com/getting-rid-of-forums-and-topic-from-bbpress-permalinks-updated-plugin/comment-page-1/#comment-43</link>
		<dc:creator>Mr Pelle</dc:creator>
		<pubDate>Mon, 12 Apr 2010 11:33:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.markroberthenderson.com/?p=55#comment-43</guid>
		<description>I don&#039;t know how to contact you, but I sent an email to Ashish Mohta asking for his thoughts about the updated plugin.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know how to contact you, but I sent an email to Ashish Mohta asking for his thoughts about the updated plugin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mr Pelle</title>
		<link>http://blog.markroberthenderson.com/getting-rid-of-forums-and-topic-from-bbpress-permalinks-updated-plugin/comment-page-1/#comment-42</link>
		<dc:creator>Mr Pelle</dc:creator>
		<pubDate>Fri, 09 Apr 2010 15:21:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.markroberthenderson.com/?p=55#comment-42</guid>
		<description>Hi!
I&#039;ve implemented 2 functions that grab both &quot;plugin activated&quot; and &quot;plugin deactivated&quot; events in order to swap .htaccess and the new file. Unfortunately you still have to change .htaccess permissions if you want the plugin to update it, but the only other way is manual edit...

I&#039;ve embedded them in the plugin: what do you think would be the better way to publish the updated plugin?</description>
		<content:encoded><![CDATA[<p>Hi!<br />
I&#8217;ve implemented 2 functions that grab both &#8220;plugin activated&#8221; and &#8220;plugin deactivated&#8221; events in order to swap .htaccess and the new file. Unfortunately you still have to change .htaccess permissions if you want the plugin to update it, but the only other way is manual edit&#8230;</p>
<p>I&#8217;ve embedded them in the plugin: what do you think would be the better way to publish the updated plugin?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mr Pelle</title>
		<link>http://blog.markroberthenderson.com/getting-rid-of-forums-and-topic-from-bbpress-permalinks-updated-plugin/comment-page-1/#comment-41</link>
		<dc:creator>Mr Pelle</dc:creator>
		<pubDate>Thu, 08 Apr 2010 16:33:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.markroberthenderson.com/?p=55#comment-41</guid>
		<description>Why can&#039;t I edit my own comments? I have to change `RewriteBase` to `/forum/`! =P</description>
		<content:encoded><![CDATA[<p>Why can&#8217;t I edit my own comments? I have to change `RewriteBase` to `/forum/`! =P</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mr Pelle</title>
		<link>http://blog.markroberthenderson.com/getting-rid-of-forums-and-topic-from-bbpress-permalinks-updated-plugin/comment-page-1/#comment-40</link>
		<dc:creator>Mr Pelle</dc:creator>
		<pubDate>Thu, 08 Apr 2010 16:25:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.markroberthenderson.com/?p=55#comment-40</guid>
		<description>...of course you have to edit RewriteBase to fit your forum name! =P</description>
		<content:encoded><![CDATA[<p>&#8230;of course you have to edit RewriteBase to fit your forum name! =P</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mr Pelle</title>
		<link>http://blog.markroberthenderson.com/getting-rid-of-forums-and-topic-from-bbpress-permalinks-updated-plugin/comment-page-1/#comment-39</link>
		<dc:creator>Mr Pelle</dc:creator>
		<pubDate>Thu, 08 Apr 2010 16:16:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.markroberthenderson.com/?p=55#comment-39</guid>
		<description>Hi! After 3 hours of brute-force testing, I found a working configuration:

`
# BEGIN bbPress

Options -MultiViews


	RewriteEngine On
	RewriteBase /reactable-forum/

	#handle admin stuff
	RewriteRule ^bb-admin/.*$ - [L,QSA]

	# handle the rest
	RewriteRule ^page/([0-9]+)/?$ ?page=$1 [L,QSA]

	RewriteRule ^profile/([^/]+)/page/([0-9]+)/?$ profile.php?id=$1&amp;page=$2 [L,QSA]
	RewriteRule ^profile/([^/]+)/([^/]+)/?$ profile.php?id=$1&amp;tab=$2 [L,QSA]
	RewriteRule ^profile/([^/]+)/([^/]+)/page/([0-9]+)/?$ profile.php?id=$1&amp;tab=$2&amp;page=$3 [L,QSA]
	RewriteRule ^profile/([^/]+)/?$ profile.php?id=$1 [L,QSA]
	RewriteRule ^profile/?$ profile.php [L,QSA] # added

	RewriteRule ^rss/?$ rss.php [L,QSA]
	RewriteRule ^rss/topics/?$ rss.php?topics=1 [L,QSA]
	RewriteRule ^rss/forum/([^/]+)/?$ rss.php?forum=$1 [L,QSA]
	RewriteRule ^rss/forum/([^/]+)/topics/?$ rss.php?forum=$1&amp;topics=1 [L,QSA]
	RewriteRule ^rss/topic/([^/]+)/?$ rss.php?topic=$1 [L,QSA]
	RewriteRule ^rss/tags/([^/]+)/?$ rss.php?tag=$1 [L,QSA]
	RewriteRule ^rss/tags/([^/]+)/topics/?$ rss.php?tag=$1&amp;topics=1 [L,QSA]
	RewriteRule ^rss/profile/([^/]+)/?$ rss.php?profile=$1 [L,QSA]
	RewriteRule ^rss/view/([^/]+)/?$ rss.php?view=$1 [L,QSA]

	RewriteRule ^tags/([^/]+)/page/([0-9]+)/?$ tags.php?tag=$1&amp;page=$2 [L,QSA]
	RewriteRule ^tags/([^/]+)/?$ tags.php?tag=$1 [L,QSA]
	RewriteRule ^tags/?$ tags.php [L,QSA]

	RewriteRule ^view/([^/]+)/page/([0-9]+)/?$ view.php?view=$1&amp;page=$2 [L,QSA]
	RewriteRule ^view/([^/]+)/?$ view.php?view=$1 [L,QSA]

	# handle forums
	RewriteRule ^([^/]+)/page/([0-9]+)/?$ forum.php?id=$1&amp;page=$2 [L,QSA]
	RewriteRule ^([^/]+)/$ forum.php?id=$1 [L,QSA] # no &#039;?&#039; before the closing &#039;$&#039; this time: very important!

	# handle topics
	RewriteRule ^([^/]+)/([^/]+)/page/([0-9]+)/?$ topic.php?id=$2&amp;page=$3 [L,QSA]
	RewriteRule ^([^/]+)/([^/]+)/$ topic.php?id=$2 [L,QSA] # no &#039;?&#039; before the closing &#039;$&#039; this time: very important!

	# handle non-existent pages
	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteCond %{REQUEST_FILENAME} !-d
	RewriteRule ^.*$ index.php [L]


# END bbPress</description>
		<content:encoded><![CDATA[<p>Hi! After 3 hours of brute-force testing, I found a working configuration:</p>
<p>`<br />
# BEGIN bbPress</p>
<p>Options -MultiViews</p>
<p>	RewriteEngine On<br />
	RewriteBase /reactable-forum/</p>
<p>	#handle admin stuff<br />
	RewriteRule ^bb-admin/.*$ &#8211; [L,QSA]</p>
<p>	# handle the rest<br />
	RewriteRule ^page/([0-9]+)/?$ ?page=$1 [L,QSA]</p>
<p>	RewriteRule ^profile/([^/]+)/page/([0-9]+)/?$ profile.php?id=$1&amp;page=$2 [L,QSA]<br />
	RewriteRule ^profile/([^/]+)/([^/]+)/?$ profile.php?id=$1&amp;tab=$2 [L,QSA]<br />
	RewriteRule ^profile/([^/]+)/([^/]+)/page/([0-9]+)/?$ profile.php?id=$1&amp;tab=$2&amp;page=$3 [L,QSA]<br />
	RewriteRule ^profile/([^/]+)/?$ profile.php?id=$1 [L,QSA]<br />
	RewriteRule ^profile/?$ profile.php [L,QSA] # added</p>
<p>	RewriteRule ^rss/?$ rss.php [L,QSA]<br />
	RewriteRule ^rss/topics/?$ rss.php?topics=1 [L,QSA]<br />
	RewriteRule ^rss/forum/([^/]+)/?$ rss.php?forum=$1 [L,QSA]<br />
	RewriteRule ^rss/forum/([^/]+)/topics/?$ rss.php?forum=$1&amp;topics=1 [L,QSA]<br />
	RewriteRule ^rss/topic/([^/]+)/?$ rss.php?topic=$1 [L,QSA]<br />
	RewriteRule ^rss/tags/([^/]+)/?$ rss.php?tag=$1 [L,QSA]<br />
	RewriteRule ^rss/tags/([^/]+)/topics/?$ rss.php?tag=$1&amp;topics=1 [L,QSA]<br />
	RewriteRule ^rss/profile/([^/]+)/?$ rss.php?profile=$1 [L,QSA]<br />
	RewriteRule ^rss/view/([^/]+)/?$ rss.php?view=$1 [L,QSA]</p>
<p>	RewriteRule ^tags/([^/]+)/page/([0-9]+)/?$ tags.php?tag=$1&amp;page=$2 [L,QSA]<br />
	RewriteRule ^tags/([^/]+)/?$ tags.php?tag=$1 [L,QSA]<br />
	RewriteRule ^tags/?$ tags.php [L,QSA]</p>
<p>	RewriteRule ^view/([^/]+)/page/([0-9]+)/?$ view.php?view=$1&amp;page=$2 [L,QSA]<br />
	RewriteRule ^view/([^/]+)/?$ view.php?view=$1 [L,QSA]</p>
<p>	# handle forums<br />
	RewriteRule ^([^/]+)/page/([0-9]+)/?$ forum.php?id=$1&amp;page=$2 [L,QSA]<br />
	RewriteRule ^([^/]+)/$ forum.php?id=$1 [L,QSA] # no &#8216;?&#8217; before the closing &#8216;$&#8217; this time: very important!</p>
<p>	# handle topics<br />
	RewriteRule ^([^/]+)/([^/]+)/page/([0-9]+)/?$ topic.php?id=$2&amp;page=$3 [L,QSA]<br />
	RewriteRule ^([^/]+)/([^/]+)/$ topic.php?id=$2 [L,QSA] # no &#8216;?&#8217; before the closing &#8216;$&#8217; this time: very important!</p>
<p>	# handle non-existent pages<br />
	RewriteCond %{REQUEST_FILENAME} !-f<br />
	RewriteCond %{REQUEST_FILENAME} !-d<br />
	RewriteRule ^.*$ index.php [L]</p>
<p># END bbPress</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://blog.markroberthenderson.com/getting-rid-of-forums-and-topic-from-bbpress-permalinks-updated-plugin/comment-page-1/#comment-38</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Sun, 24 Jan 2010 18:48:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.markroberthenderson.com/?p=55#comment-38</guid>
		<description>I found a solution for the admin-backend link!

Just ad the following code 

RewriteRule ^bb-admin/$ - [L]

...before this code

RewriteRule ^([^.]+)/([^.]+)/page/([0-9]+)/?$ topic.php?id=$2&amp;page=$3 [L,QSA]

....and it works!</description>
		<content:encoded><![CDATA[<p>I found a solution for the admin-backend link!</p>
<p>Just ad the following code </p>
<p>RewriteRule ^bb-admin/$ &#8211; [L]</p>
<p>&#8230;before this code</p>
<p>RewriteRule ^([^.]+)/([^.]+)/page/([0-9]+)/?$ topic.php?id=$2&amp;page=$3 [L,QSA]</p>
<p>&#8230;.and it works!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mark</title>
		<link>http://blog.markroberthenderson.com/getting-rid-of-forums-and-topic-from-bbpress-permalinks-updated-plugin/comment-page-1/#comment-27</link>
		<dc:creator>mark</dc:creator>
		<pubDate>Sat, 14 Nov 2009 14:16:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.markroberthenderson.com/?p=55#comment-27</guid>
		<description>Hey Alex,

Thanks for commenting. You are correct – those are the two lines and they should be switched and they should be something like

&lt;code&gt;
$topic = get_topic( $topic_id, false );
$link = get_post_link($post_id);
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Hey Alex,</p>
<p>Thanks for commenting. You are correct – those are the two lines and they should be switched and they should be something like</p>
<p><code><br />
$topic = get_topic( $topic_id, false );<br />
$link = get_post_link($post_id);<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://blog.markroberthenderson.com/getting-rid-of-forums-and-topic-from-bbpress-permalinks-updated-plugin/comment-page-1/#comment-25</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Sat, 14 Nov 2009 11:27:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.markroberthenderson.com/?p=55#comment-25</guid>
		<description>Hi, I&#039;ve just followed your instructions and was also able to remove &quot;forum&quot; and &quot;topic&quot; from the urls.

But something is wrong because the pages cannot be found. 

Probably I made something wrong with point four were you say that the lines 46 and 48 have to be switched. What do I actually have do do there?

Is it this code?
&lt;code&gt;$link = get_post_link($post_id);

$topic = get_topic( $topic_id, false );&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Hi, I&#8217;ve just followed your instructions and was also able to remove &#8220;forum&#8221; and &#8220;topic&#8221; from the urls.</p>
<p>But something is wrong because the pages cannot be found. </p>
<p>Probably I made something wrong with point four were you say that the lines 46 and 48 have to be switched. What do I actually have do do there?</p>
<p>Is it this code?<br />
<code>$link = get_post_link($post_id);</p>
<p>$topic = get_topic( $topic_id, false );</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://blog.markroberthenderson.com/getting-rid-of-forums-and-topic-from-bbpress-permalinks-updated-plugin/comment-page-1/#comment-18</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Sun, 20 Sep 2009 08:53:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.markroberthenderson.com/?p=55#comment-18</guid>
		<description>Whoops :) Sorry about that. Fixed, and I&#039;ll submit it to trac.</description>
		<content:encoded><![CDATA[<p>Whoops <img src='http://blog.markroberthenderson.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Sorry about that. Fixed, and I&#8217;ll submit it to trac.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
