Apache:- RewriteRule ^(.*)merchant.html$ $1plugin.php?id=merchant:memcp&mobile=no
- RewriteRule ^(.*)merchant-([0-9]+).html$ $1plugin.php?id=merchant:memcp&mid=$2&mobile=no
- RewriteRule ^(.*)mlist-([0-9]+).html$ $1plugin.php?id=merchant:memcp&catid=$2&mobile=no
- RewriteRule ^(.*)mlist-([0-9]+)-([0-9]+).html$ $1plugin.php?id=merchant:memcp&catid=$2&sort=$3&mobile=no
- RewriteRule ^(.*)merchant_([0-9]+)_([0-9]+)_([0-9]+)_([0-9])_([0-9])_([0-9]).html$ $1plugin.php?id=merchant:memcp&catid=$2&sort=$3®=$4&r=$5&t=$6&s=$7&mobile=no
复制代码 IIS6:- RewriteRule ^(.*)/merchant\.html$ $1/plugin\.php\?id=merchant\:memcp&mobile=no
- RewriteRule ^(.*)/merchant-([0-9]+)\.html$ $1/plugin\.php\?id=merchant\:memcp&mid\=$2&mobile=no
- RewriteRule ^(.*)/mlist-([0-9]+)\.html$ $1/plugin\.php\?id=merchant\:memcp&catid=$2&mobile=no
- RewriteRule ^(.*)/mlist-([0-9]+)-([0-9]+)\.html$ $1/plugin\.php\?id=merchant\:memcp&catid=$2&sort=$3&mobile=no
- RewriteRule ^(.*)/merchant_([0-9]+)_([0-9]+)_([0-9]+)_([0-9])_([0-9])_([0-9])\.html$ $1/plugin\.php\?id=merchant\:memcp&catid=$2&sort=$3®=$4&r=$5&t=$6&s=$7&mobile=no
复制代码 |