通过RewriteRule ^news-([0-9]+)\.html(.*)$ newsDetail.php?id=$1$2 [QSA]或者RewriteRule ^news-([0-9]+)\.html?(.*)$ newsDetail.php?id=$1$2 [QSA]
就能将 news-123.html?a=1b=1伪到newsDetail.php?id=123&a=1&b...
通过RewriteRule ^news-([0-9]+)\.html(.*)$ newsDetail.php?id=$1$2 [QSA]或者RewriteRule ^news-([0-9]+)\.html?(.*)$ newsDetail.php?id=$1$2 [QSA]
就能将 news-123.html?a=1b=1伪到newsDetail.php?id=123&a=1&b...