Answer the question
In order to leave comments, you need to log in
How to correctly set the rule for the CNC?
I just can not find a solution, I broke my whole head.
There is a function in class.Rewrite.php
$tpl = preg_replace('/index.php([?])p=showforum&fid=([\d]*)&t=([\w-]*)/i', $arr['forum'] . '/\\2/\\3/', $tpl);
RewriteRule ^forum/([0-9]+)/([-_A-Za-z0-9-]+)/([^/]*)$ index.php?p=showforum&fid=$1&t=$2 [NC,L]
$rew[] = 'RewriteRule ^' . $arr['forum'] . '/([0-9]+)/([-_A-Za-z0-9-]+)/([^/]*)$ index.php?p=showforum&fid=$1&t=$2 [NC,L]';
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question