<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Easy sef link system !</title>
		<link>https://www.cotonti.com</link>
		<description>Son konu mesajları</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Tue, 21 Apr 2026 15:44:27 -0000</pubDate>

		<item>
			<title>Gökhan YILDIZ</title>
			<description><![CDATA[<p>We try a different method</p>

<p>Go to Administration Panel &gt;&gt; Other &gt;&gt; URL Editor<font color="#444444" face="sans-serif"> &gt;&gt; URL Preset select to Genoa/Seditio Compatible and save.</font></p>

<p><font color="#444444" face="sans-serif">Open</font></p>

<p><font color="#444444" face="sans-serif">modules/forums/inc/forums.functions.php</font></p>

<p><font color="#444444" face="sans-serif">find:</font></p>

<pre class="brush:php;">
$cot_extrafields[$db_forum_topics] = (!empty($cot_extrafields[$db_forum_topics])) ? $cot_extrafields[$db_forum_topics] : array();</pre>

<p>add after:</p>

<pre class="brush:php;">
/**
* Cotonti sef-link function
* Author Gökhan YILDIZ
**/
function sef_link($cot_sef_title){
    $turkish = array('ş','Ş','ı','İ','ğ','Ğ','ü','Ü','ö','Ö','ç','Ç');
    $english = array('s','s','i','i','g','g','u','u','o','o','c','c');
    $cot_sef_title = str_replace($turkish,$english,$cot_sef_title);
    $cot_sef_title = strtolower($cot_sef_title);
    $cot_sef_title = preg_replace('/&amp;amp;amp;amp;amp;amp;amp;amp;amp;.+?;/', '-', $cot_sef_title);
    $cot_sef_title = preg_replace('/[^%a-z0-9 _-]/', '-', $cot_sef_title);
    $cot_sef_title = preg_replace('/\s+/', '-', $cot_sef_title);
    $cot_sef_title = preg_replace('|-+|', '-', $cot_sef_title);
    $cot_sef_title = str_replace("--","-",$cot_sef_title);
    $cot_sef_title = trim($cot_sef_title, '-');
    return $cot_sef_title;
} </pre>

<p>find:</p>

<pre class="brush:php;">
$tmp[] = array(cot_url('forums', 'm=topics&amp;s=' . $x), $structure['forums'][$x]['title']);</pre>

<p>replace:</p>

<pre class="brush:php;">
$tmp[] = array('forums/topics/' . $cat.'/', $structure['forums'][$x]['title']);</pre>

<p>find:</p>

<pre class="brush:php;">
$tag_prefix . 'URL' =&gt; cot_url('forums', 'm=topics&amp;s=' . $cat),</pre>

<p>replace:</p>

<pre class="brush:php;">
$tag_prefix . 'URL' =&gt; 'forums/topics/' . $cat.'/',</pre>

<p>find:</p>

<pre class="brush:php;">
$tag_prefix . 'LASTPOST' =&gt; cot_rc_link($new_elems ? cot_url('forums', 'm=posts&amp;q=' . $stat['fs_lt_id'] . '&amp;n=unread', '#unread') : cot_url('forums', 'm=posts&amp;q=' . $stat['fs_lt_id'] . '&amp;n=last', '#bottom'), cot_cutstring($stat['fs_lt_title'], 32)),
</pre>

<p>replace:</p>

<pre class="brush:php;">
$tag_prefix . 'LASTPOST' =&gt; cot_rc_link($new_elems ? 'forums/posts/' . $stat['fs_lt_id'] . '/unread/#unread' : 'forums/posts/' . $stat['fs_lt_id'] . '/'.sef_link($stat['fs_lt_title']).'/last/#bottom', cot_cutstring($stat['fs_lt_title'], 32)),</pre>

<p>find:</p>

<pre class="brush:php;">
$tag_prefix . 'LASTPOST_URL' =&gt; $new_elems ? cot_url('forums', 'm=posts&amp;q=' . $stat['fs_lt_id'] . '&amp;n=unread', '#unread') : cot_url('forums', 'm=posts&amp;q=' . $stat['fs_lt_id'] . '&amp;n=last', '#bottom'),</pre>

<p>replace:</p>

<pre class="brush:php;">
$tag_prefix . 'LASTPOST_URL' =&gt; $new_elems ? 'forums/posts/' . $stat['fs_lt_id'] . '/'.sef_link($stat['fs_lt_title']).'/unread/#unread' : 'forums/posts/' . $stat['fs_lt_id'] . '/'.sef_link($stat['fs_lt_title']).'/last/#bottom',</pre>

<p>save and reload ftp.</p>

<p>open modules/forums/inc/forums.topics.php</p>

<p>find:</p>

<pre class="brush:php;">
cot_redirect(cot_url('forums', "m=topics&amp;s=".$s, '', true));</pre>

<p>replace:</p>

<pre class="brush:php;">
cot_redirect('forums/topics/".$s."/', '', true);</pre>

<p>find:</p>

<pre class="brush:php;">
$row['ft_url'] = cot_url('forums', "m=posts&amp;q=".$row['ft_movedto']);</pre>

<p>replace:</p>

<pre class="brush:php;">
$row['ft_url'] = "forums/posts/".$row['ft_movedto']."/".sef_link($row['ft_title'])."/";</pre>

<p>find:</p>

<pre class="brush:php;">
$row['ft_lastposturl'] = cot_url('forums', "m=posts&amp;q=".$row['ft_movedto']."&amp;n=last", "#bottom");</pre>

<p>replace:</p>

<pre class="brush:php;">
$row['ft_lastposturl'] = "forums/posts/".$row['ft_movedto']."/".sef_link($row['ft_title'])."/last/#bottom";</pre>

<p>find:</p>

<pre class="brush:php;">
$row['ft_url'] = cot_url('forums', "m=posts&amp;q=".$row['ft_id']);</pre>

<p>replace:</p>

<pre class="brush:php;">
$row['ft_url'] = "forums/posts/".$row['ft_id']."/".sef_link($row['ft_title'])."/";</pre>

<p>find:</p>

<pre class="brush:php;">
$row['ft_lastposturl'] = ($usr['id'] &gt; 0 &amp;&amp; $row['ft_updated'] &gt; $usr['lastvisit']) ? cot_url('forums', "m=posts&amp;q=".$row['ft_id']."&amp;n=unread", "#unread") : cot_url('forums', "m=posts&amp;q=".$row['ft_id']."&amp;n=last", "#bottom");</pre>

<p>replace:</p>

<pre class="brush:php;">
$row['ft_lastposturl'] = ($usr['id'] &gt; 0 &amp;&amp; $row['ft_updated'] &gt; $usr['lastvisit']) ? "forums/posts/".$row['ft_id']."/unread/#unread" : "forums/posts/".$row['ft_id']."/last/#bottom";</pre>

<p>find:</p>

<pre class="brush:php;">
$jumpbox[cot_url('forums', "m=topics&amp;s=".$key, '', true)] = $val['tpath'];</pre>

<p>replace:</p>

<pre class="brush:php;">
$jumpbox["forums/topics/".$key."/, '', true"] = $val['tpath'];</pre>

<p>save and reload ftp</p>

<p>.htaccess (upload your root directory)</p>

<pre class="brush:php;">
Options -Indexes
RewriteEngine On
RewriteBase "/"
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
Options +FollowSymlinks 
RewriteEngine On 
RewriteRule ^forums/([^/-]+)/$ forums.php?m=$1&amp; [L,NC]
RewriteRule ^forums/([^/-]+)/([^/-]+)/$ forums.php?m=$1&amp;s=$2&amp; [L,NC]
RewriteRule ^forums/posts/([a-zA-Z0-9-_]+)/$ forums.php?m=posts&amp;q=$1&amp; [L,NC]
RewriteRule ^forums/posts/([a-zA-Z0-9-_]+)/([a-zA-Z0-9-_]+)/$ forums.php?m=posts&amp;q=$1&amp;$2&amp; [L,NC]
RewriteRule ^forums/posts/([a-zA-Z0-9-_]+)/([a-zA-Z0-9-_]+)/([^/-]+)/$ forums.php?m=posts&amp;q=$1&amp;=$2&amp;n=$3&amp; [L,NC]</pre>

<p>Try again now</p>
]]></description>
			<pubDate>Cum, 01 Kas 2013 08:25:26 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=7570&d=0#post38267]]></link>
		</item>
		<item>
			<title>MecTruy</title>
			<description><![CDATA[<p>it's not working, i did but gave me like this url: http://www.cotontix.com/<strong>forums/posts?q=1&amp;n=last#bottom</strong></p>

<p> </p>
]]></description>
			<pubDate>Per, 31 Eki 2013 23:41:13 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=7570&d=0#post38265]]></link>
		</item>
		<item>
			<title>Gökhan YILDIZ</title>
			<description><![CDATA[<p>Yes of course.</p>

<p>Go to Administration Panel &gt;&gt; Other &gt;&gt; URL Editor or Settings (anyone) &gt;&gt; add new rule</p>

<p>first rule</p>

<pre class="brush:php;">
Area : forums
Parameters: m=*&amp;q=*
Format: {$_area}/{$m}/{$q} or {$_area}/{$m}/{$q}.html</pre>

<p>second rule</p>

<pre class="brush:php;">
Area: forums
Parameters : m=*&amp;s=*
Format: {$_area}/{$m}/{$s}</pre>

<p>last rule</p>

<pre class="brush:php;">
Area: forums
Parameters : m=*
Format: {$_area}/{$m}</pre>

<p>Not tested but should work. Waiting for the results.</p>

<p> </p>
]]></description>
			<pubDate>Per, 31 Eki 2013 11:33:04 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=7570&d=0#post38264]]></link>
		</item>
		<item>
			<title>MecTruy</title>
			<description><![CDATA[<p>Mr.Gökhan for forum sef url how is setting ? can you give me example ? because i read many example but just all other pages not for forums.</p>
]]></description>
			<pubDate>Per, 31 Eki 2013 08:39:46 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=7570&d=0#post38263]]></link>
		</item>
		<item>
			<title>Gökhan YILDIZ</title>
			<description><![CDATA[<p>Actually very easy. Just need to know what you're doing. First step <a href="http://www.cotonti.com/docs/admin/sef_urls">http://www.cotonti.com/docs/admin/sef_urls</a> To achieve this, need you to write own your rules.</p>
]]></description>
			<pubDate>Çrş, 30 Eki 2013 15:14:01 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=7570&d=0#post38261]]></link>
		</item>
		<item>
			<title>MecTruy</title>
			<description><![CDATA[<p>Why haven't Cotonti siena easy sef link system for seo ?  yes have but not easy very mixx if cotonti siena want succes , first sef link must be good.</p>
]]></description>
			<pubDate>Çrş, 30 Eki 2013 12:17:38 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=7570&d=0#post38259]]></link>
		</item>
	</channel>
</rss>