PHPCMS伪静态的方法,如果使用宝塔或PHP Study,将以下代码复制到伪静态设置中即可。
location / { rewrite ^/(.*)content-([0-9]+)-([0-9]+)-([0-9]+)\.html /index.php?m=content&c=index&a=show&catid=$2&id=$3&page=$4; rewrite ^/(.*)show-([0-9]+)-([0-9]+)-([0-9]+).html /index.php?m=content&c=index&a=show&catid=$2&id=$3&page=$4; rewrite ^/(.*)list-([0-9]+)-([0-9]+).html /index.php?m=content&c=index&a=lists&catid=$2&page=$3; }