phpcms v9的url优化
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
暗夜之中,才见繁星;危机之下,暗藏转机;事在人为,为者常成。