RewriteEngine On
RewriteBase /
RewriteRule ^(.*)gobuy-([0-9]+).html$ $1gobuy.php\?iid=$2
RewriteRule ^(.*)goods-([0-9]+).html$ $1goods.php\?iid=$2
RewriteRule ^(.*)list-([0-9]+).html$ $1list.php\?catid=$2
RewriteRule ^(.*)list-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+).html$ $1list.php\?catid=$2&sortnum=$3&sp=$4&ep=$5
RewriteRule ^(.*)list-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+).html$ $1list.php\?catid=$2&sortnum=$3&sp=$4&ep=$5&page=$6
RewriteRule ^(.*)list-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-(.+)-([0-9]+).html$ $1list.php\?catid=$2&sortnum=$3&sp=$4&ep=$5&sq=$6&page=$7
RewriteRule ^(.*)list-(.+)-([0-9]+).html$ $1list.php\?sq=$2&catid=$3 [L]
RewriteRule ^(.*)goshop-(.+)-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+).html$ $1goshop.php\?snick=$2&sortnum=$3&sp=$4&ep=$5&page=$6
RewriteRule ^(.*)goshop-(.+)-([0-9]+)-([0-9]+)-([0-9]+)-(.+)-([0-9]+).html$ $1goshop.php\?snick=$2&sortnum=$3&sp=$4&ep=$5&sq=$6&page=$7
RewriteRule ^(.*)goshop-(.+).html$ $1goshop.php\?snick=$2 [L]
#RewriteRule ^(.*)shop-(.+).html$ $1shop.php\?nick=$2 [L]