rewrite ^/(post|record|sort|author|page)-([0-9]+)\.html$ /index.php?$1=$2;rewrite ^/tag-(.+)\.html$ /index.php?tag=$1;
把index.html 强制转换到index.php页面
rewrite ^/index.html$ /index.php last;
本文共 242 字,大约阅读时间需要 1 分钟。
rewrite ^/(post|record|sort|author|page)-([0-9]+)\.html$ /index.php?$1=$2;rewrite ^/tag-(.+)\.html$ /index.php?tag=$1;
把index.html 强制转换到index.php页面
rewrite ^/index.html$ /index.php last;
转载于:https://www.cnblogs.com/wangkongming/p/4004412.html