一、在自建插件 hook 目錄中創建 index_inc_route_before.php 並加入以下代碼。
!empty(param(0)) && is_numeric(param(0)) and $route = 'read';
二、在自建插件 hook 目錄中創建 read_start.php 文件並中加入以下代碼
$tid = param(0, 0);
$page = param(1, 1);
三、在自建插件 hook 目錄中創建 model__thread_format_center.php 文件並中加入以下代碼
$thread['url'] = url($thread['tid'], '', FALSE);