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;
时间: 2024-10-26 19:25:22
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;