phpcms v9伪静态规则nginx配置伪静态 404 Not Found
location / {###以下为PHPCMS 伪静态化rewrite法则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;}
以上可以正常使用!
我的博客即将同步至腾讯云+社区,邀请大家一同入驻:https://cloud.tencent.com/developer/support-plan?invite_code=lpdycda2fshu