<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[PunBB Forums — SEF making punbb 1.2x compatible]]></title>
		<link>https://punbb.informer.com/forums/topic/22607/sef-making-punbb-12x-compatible/</link>
		<atom:link href="https://punbb.informer.com/forums/feed/rss/topic/22607/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in SEF making punbb 1.2x compatible.]]></description>
		<lastBuildDate>Tue, 08 Dec 2009 00:31:20 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: SEF making punbb 1.2x compatible]]></title>
			<link>https://punbb.informer.com/forums/post/132725/#p132725</link>
			<description><![CDATA[<p>I like this&#039;s, cool!</p>]]></description>
			<author><![CDATA[null@example.com (rasd123)]]></author>
			<pubDate>Tue, 08 Dec 2009 00:31:20 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/132725/#p132725</guid>
		</item>
		<item>
			<title><![CDATA[Re: SEF making punbb 1.2x compatible]]></title>
			<link>https://punbb.informer.com/forums/post/132711/#p132711</link>
			<description><![CDATA[<p>wow,<br />thanks a lot. i will update my rules.</p><p>thanks again for your help.</p>]]></description>
			<author><![CDATA[null@example.com (rajuru)]]></author>
			<pubDate>Mon, 07 Dec 2009 08:47:14 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/132711/#p132711</guid>
		</item>
		<item>
			<title><![CDATA[Re: SEF making punbb 1.2x compatible]]></title>
			<link>https://punbb.informer.com/forums/post/132708/#p132708</link>
			<description><![CDATA[<p>Here the version of optimized rewrite rules for you:<br /></p><div class="codebox"><pre><code>$forum_rewrite_rules[&#039;/t([0-9]+)(\.html?|\/)?/i&#039;] = &#039;viewtopic.php?id=$1&#039;;
$forum_rewrite_rules[&#039;/f([0-9]+)(\.html?|\/)?/i&#039;] = &#039;viewforum.php?id=$1&#039;;
$forum_rewrite_rules[&#039;/p([0-9]+)(\.html?|\/)?/i&#039;] = &#039;viewtopic.php?pid=$1&#039;;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Slavok)]]></author>
			<pubDate>Mon, 07 Dec 2009 08:33:05 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/132708/#p132708</guid>
		</item>
		<item>
			<title><![CDATA[SEF making punbb 1.2x compatible]]></title>
			<link>https://punbb.informer.com/forums/post/132668/#p132668</link>
			<description><![CDATA[<p>I used an mod for SEF URLs in PunBB 1.2.x. The URLs looked like:</p><p>for post: pxxx.html (p1938.html)<br />for topic: txxx.html (t282.html)<br />for forum: fxxx.html (f2.html).</p><br /><p>However, the SEF URL scheme is different in 1.3.x. As a result, when I enable SEF URL in new punbb old SEF URLs don&#039;t work anymore. That&#039;s why I could not use new SEF scheme in PunBB 1.3.x. However, today I planned to make a solution. </p><p>I have enabled File based URL Scheme. then I have appended the following lines in include/url/File_based/rewrite_rules.php</p><div class="codebox"><pre><code>&#039;/^t[\/_-]?([0-9]+)(\.html?|\/)?$/i&#039;                                                                                    =&gt;    &#039;viewtopic.php?id=$1&#039;,
    &#039;/^p[\/_-]?([0-9]+)(\.html?|\/)?$/i&#039;                                                                                    =&gt;    &#039;viewtopic.php?pid=$1&#039;,
    &#039;/^f[\/_-]?([0-9]+)(\.html?|\/)?$/i&#039;                                                                                    =&gt;    &#039;viewforum.php?id=$1&#039;,</code></pre></div><p>i can&#039;t explain these as I am poor at Regex. However, it apparently worked for me. I will test it for a few days though <img src="https://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" />.</p>]]></description>
			<author><![CDATA[null@example.com (rajuru)]]></author>
			<pubDate>Fri, 04 Dec 2009 20:04:27 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/132668/#p132668</guid>
		</item>
	</channel>
</rss>
