分页: 1 / 1

phpBB 网址伪静态 seourls 已修改支持phpbb3.3

发表于 : 2019-12-19, 03:26
admin
tas2580-seourls.zip
(38.85 KiB) 已下载 1196 次
/viewforum.php?f=1 becomes /f-1.html
/viewtopic.php?f=1&t=2 becomes /t-2.html

伪静态规则

代码: 全选

RewriteRule ^t-([0-9]*)-s([0-9]*).html viewtopic.php?t=$1&start=$2&%{QUERY_STRING} [L]
RewriteRule ^t-([0-9]*).html viewtopic.php?t=$1&%{QUERY_STRING} [L]
RewriteRule ^f-([0-9]*)-s([0-9]*).html viewforum.php?f=$1&start=$2&%{QUERY_STRING} [L]
RewriteRule ^f-([0-9]*).html viewforum.php?f=$1&%{QUERY_STRING} [L]