久久久久av_欧美日韩一区二区在线_国产精品三区四区_日韩中字在线

Discuz! 官方交流社區

標題: dz3.4設置偽靜態后板塊顯示的帖子還是動態怎么辦 [打印本頁]

作者: 周某人    時間: 2023-3-23 23:22
標題: dz3.4設置偽靜態后板塊顯示的帖子還是動態怎么辦
圖1通過板塊顯示的帖子地址點擊還是動態怎么辦

圖3首頁顯示帖子是偽靜態生效的
rewrite ^([^\.]*)/topic-(.+)\.html$ $1/portal.php?mod=topic&topic=$2 last;rewrite ^([^\.]*)/article-([0-9]+)-([0-9]+)\.html$ $1/portal.php?mod=view&aid=$2&page=$3 last;rewrite ^([^\.]*)/forum-(\w+)-([0-9]+)\.html$ $1/forum.php?mod=forumdisplay&fid=$2&page=$3 last;rewrite ^([^\.]*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ $1/forum.php?mod=viewthread&tid=$2&extra=page%3D$4&page=$3 last;rewrite ^([^\.]*)/group-([0-9]+)-([0-9]+)\.html$ $1/forum.php?mod=group&fid=$2&page=$3 last;rewrite ^([^\.]*)/space-(username|uid)-(.+)\.html$ $1/home.php?mod=space&$2=$3 last;rewrite ^([^\.]*)/blog-([0-9]+)-([0-9]+)\.html$ $1/home.php?mod=space&uid=$2&do=blog&id=$3 last;rewrite ^([^\.]*)/archiver/(fid|tid)-([0-9]+)\.html$ $1/archiver/index.php?action=$2&value=$3 last;rewrite ^([^\.]*)/([a-z]+[a-z0-9_]*)-([a-z0-9_\-]+)\.html$ $1/plugin.php?id=$2:$3 last;if (!-e $request_filename) {        return 404;}

作者: 周某人    時間: 2023-3-23 23:23
這是首頁帖子鏈接
作者: 文強    時間: 2023-3-24 00:35
1、偽靜態擴展 → https://addon.dismall.com/packs/study_kz_rewrite.html
2、手機偽靜態 → https://addon.dismall.com/plugins/twpx_mrewrite.html
作者: 湖中沉    時間: 2023-3-24 07:38
X3.4手機版不支持偽靜態。雖然偽靜態能打開,但默認不支持。

其實偽靜態沒有必要,移動端沒有人關注你地址的格式
作者: 周某人    時間: 2023-3-25 14:02
文強 發表于 2023-3-24 00:35
1、偽靜態擴展 → https://addon.dismall.com/packs/study_kz_rewrite.html
2、手機偽靜態 → https://addo ...

兩個都試過了,我寶塔配置了偽靜態應該不需要那個文件,反正上傳了也是那個樣子
作者: 周某人    時間: 2023-3-25 14:03
湖中沉 發表于 2023-3-24 07:38
X3.4手機版不支持偽靜態。雖然偽靜態能打開,但默認不支持。

其實偽靜態沒有必要,移動端沒有人關注你地址 ...

我看別人3.5板塊進去的帖子是靜態,主要是為了好收錄
作者: 湖中沉    時間: 2023-3-25 14:09
周某人 發表于 2023-3-25 14:03
我看別人3.5板塊進去的帖子是靜態,主要是為了好收錄

偽靜態對收錄的影響目前的技術條件下沒有差別




歡迎光臨 Discuz! 官方交流社區 (http://www.9999xn.com/) Powered by Discuz! W1.0