设好了404,为什么转不了呢?求解?
discuz帖子被删除后,再打开会提示“帖子被删除或者在审核”,这样设置后会把这个页面直接跳转到404页面。
步骤一:查找跟目录下的source\module\forum\forum_viewthread.php搜索这个代码showmessage('thread_nonexistence')
;步骤二:如果你的主机是win系统,把上面的代码替换为header('HTTP/1.1 404 Not Found'); header('status: 404 Not Found');include('404.html');exit()
;如果你的主机是linux系统,把上面的代码替换为header('HTTP/1.1 404 Not Found'); header('status: 404 Not Found');exit();这样就会跳转到你设置好的404页面了
到此,以上就是小编对于discuz threadtitlefont的问题就介绍到这了,希望介绍关于discuz threadtitlefont的1点解答对大家有用。