First
Open function_core.php under source \ Function
Find the following code:
if($type == ‘forum_forumdisplay‘) { list(,,, $fid, $page, $extra) = func_get_args(); $r = array( ‘{fid}‘ => empty($_G[‘setting‘][‘forumkeys‘][$fid]) ? $fid : $_G[‘setting‘][‘forumkeys‘][$fid], ‘{page}‘ => $page ? $page : 1, ); } elseif($type == ‘forum_viewthread‘) { list(,,, $tid, $page, $prevpage, $extra) = func_get_args(); $r = array( ‘{tid}‘ => $tid, ‘{page}‘ => $page ? $page : 1, ‘{prevpage}‘ => $prevpage && !IS_ROBOT ? $prevpage : 1, );
Modify:
if($type == ‘forum_forumdisplay‘) { list(,,, $fid, $page, $extra) = func_get_args(); $r = array( ‘{fid}‘ => empty($_G[‘setting‘][‘forumkeys‘][$fid]) ? $fid : $_G[‘setting‘][‘forumkeys‘][$fid], ‘{page}‘ => $page , ); } elseif($type == ‘forum_viewthread‘) { list(,,, $tid, $page, $prevpage, $extra) = func_get_args(); $fid = DB::result_first("SELECT fid FROM ".DB::table(‘forum_thread‘)." WHERE tid = ‘$tid‘"); $r = array( ‘{fid}‘ => empty($_G[‘setting‘][‘forumkeys‘][$fid]) ? $fid : $_G[‘setting‘][‘forumkeys‘][$fid], ‘{tid}‘ => $tid, ‘{page}‘ => $page , ‘{prevpage}‘ => $prevpage && !IS_ROBOT ? $prevpage : 1, );
Go to the website and choose '''seo settings **> "static URL ".
In the format of "forum topic list page", enter {FID}/{page}
Enter {FID}/m {TID}/{page} in the format of "forum topic content page}
Download the. htaccess file and upload it to the root directory of the website.
Http://pan.baidu.com/s/1mg3HLsk