2013-4-9 8:50 Tuesday  

.htacess代码

RewriteEngine on
RewriteCond %{HTTP_HOST} ^old.phpec.org$
RewriteRule ^(.*)$ http://www.phpec.org/$1 [R=301,L]

阅读全文>>

通过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...

阅读全文>>