伪静态功能,带?号的链接自动变成404页面了?为什么啊?
难道是伪原创规则写错了?
还是vps需要开启某些插件??
求高人帮忙看看了!谢谢!
测试地址:http://www.sjzshi.com/thread-20-1-1.html
带?问号的地址:http://www.sjzshi.com/thread-20-1-1.html?spm=a1z02.1.1000293.5
自己是linux 系统vps
lighttpd地址重写规则- url.rewrite-once = (
- "^(.*)/topic-(.+)\.html$" => "$1/portal.php?mod=topic&topic=$2",
- "^(.*)/article-([0-9]+)-([0-9]+)\.html$" => "$1/portal.php?mod=view&aid=$2",
- "^(.*)/forum-(\w+)-([0-9]+)\.html$" => "$1/forum.php?mod=forumdisplay&fid=$2&page=$3",
- "^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$" => "$1/forum.php?mod=viewthread&tid=$2&extra=page%3D$4&page=$3",
- "^(.*)/group-([0-9]+)-([0-9]+)\.html$" => "$1/forum.php?mod=group&fid=$2&page=$3",
- "^(.*)/space-(username|uid)-(.+)\.html$" => "$1/home.php?mod=space&$2=$3",
- "^(.*)/blog-([0-9]+)-([0-9]+)\.html$" => "$1/home.php?mod=space&uid=$2&do=blog&id=$3",
- "^(.*)/(fid|tid)-([0-9]+)\.html$" => "$1/index.php?action=$2&value=$3"
- )
复制代码 |