phpcms v9的url优化

nginx配置重定向 nginx rewrite rule rewrite ^ show-( +)-( +)-( +) html$ index php?m=

nginx配置重定向

# nginx rewrite rule
rewrite ^/show-(.+)-(.+)-(.+).html$ /index.php?m=content&c=index&a=show&catid=$1&id=$2&page=$3 last;
rewrite ^/list-(.+)-(.+).html$ /index.php?m=content&c=index&a=lists&catid=$1&page=$2 last;
# end nginx rewrite rule