刚开始测试, 7.5版伪静态去掉0不行,打不开tag伪静态列表首页了
后来把 apache的伪静态规则 RewriteEngine On Rewritebase / #TAGS信息列表页 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^tags-(.+?)-([0-9]+).html$ /e/tags/index.php?tagname=$1&page=$2 [NC,L] #评论列表页 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^comment-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+).html$ /e/pl/index.php?doaction=$1&classid=$2&id=$3&page=$4&myorder=$5&tempid=$6 [NC,L] 改成 RewriteEngine On Rewritebase / #TAGS信息列表页 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^tags-(.+?).html$ /e/tags/index.php?tagname=$1&page=$2 [NC,L] #评论列表页 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^comment-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+).html$ /e/pl/index.php?doaction=$1&classid=$2&id=$3&page=$4&myorder=$5&tempid=$6 [NC,L] 就可以了
因为去掉了-([0-9]+) 不知道分页怎么样,等tag有分页时再看看这个行不行。
|