<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
# RewriteRule ^([^\/]*)\.html$ index.php/$1 [QSA,PT,L]
# RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]

RewriteRule ^index\.html$    index\.php [L]
RewriteRule ^Index\.html$    index\.php [L]
RewriteRule ^index-(\w+)-(\w+)\.html$  index\.php\?m=Index&a=index&$1=$2 [QSA,L]
RewriteRule ^index-(\w+)-(\w+)-(\w+)-(\w+)\.html$  index\.php\?m=Index&a=index&$1=$2&$3=$4 [QSA,L]
RewriteRule ^index-(\w+)-(\w+)-(\w+)-(\w+)-(\w+)-(\w+)\.html$  index\.php\?m=Index&a=index&$1=$2&$3=$4&$5=$6 [QSA,L]
RewriteRule ^index-(\w+)-(\w+)-(\w+)-(\w+)-(\w+)-(\w+)-(\w+)-(\w+)\.html$  index\.php\?m=Index&a=index&$1=$2&$3=$4&$5=$6&$7=$8 [QSA,L]
RewriteRule ^index-(\w+)-(\w+)-(\w+)-(\w+)-(\w+)-(\w+)-(\w+)-(\w+)-(\w+)-(\w+)\.html$  index\.php\?m=Index&a=index&$1=$2&$3=$4&$5=$6&$7=$8&$9=$10 [QSA,L]

RewriteRule ^is$  index\.php\?m=Index&a=search [QSA,L]
RewriteRule ^is-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)\.html$  index\.php\?m=Index&a=search&$1=$2&$3=$4&$5=$6&$7=$8&$9=$10 [QSA,L]
RewriteRule ^is-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)\.html$  index\.php\?m=Index&a=search&$1=$2&$3=$4&$5=$6&$7=$8 [QSA,L]
RewriteRule ^is-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)\.html$  index\.php\?m=Index&a=search&$1=$2&$3=$4&$5=$6 [QSA,L]
RewriteRule ^is-(.+)-(.+)-(.+)-(.+)\.html$  index\.php\?m=Index&a=search&$1=$2&$3=$4 [QSA,L]
RewriteRule ^is-(.+)-(.+)\.html$  index\.php\?m=Index&a=search&$1=$2 [QSA,L]


RewriteRule ^rank$  index\.php\?m=Rank&a=index [QSA,L]

RewriteRule ^site$  index\.php\?m=Index&a=site [QSA,L]
RewriteRule ^site/([0-9]+)$  index\.php\?m=Index&a=site&sc=$1 [QSA,L]
RewriteRule ^site/go-([0-9]+)\.html$  index\.php\?m=Site&a=go&id=$1 [QSA,L]
RewriteRule ^site/([0-9]+)\.html$  index\.php\?m=Site&a=show&id=$1 [QSA,L]
RewriteRule ^site/([0-9]+)-(\w+)-(\w+)\.html$  index\.php\?m=Site&a=show&id=$1&$2=$3 [QSA,L]

RewriteRule ^group$  index\.php\?m=Goods&a=index [QSA,L]
RewriteRule ^group/go-([0-9]+)\.html$  index\.php\?m=Goods&a=go&id=$1 [QSA,L]
RewriteRule ^group/([0-9]+)\.html$  index\.php\?m=Goods&a=show&id=$1 [QSA,L]
RewriteRule ^group/([0-9]+)-(\w+)-(\w+)\.html$  index\.php\?m=Goods&a=show&id=$1&$2=$3 [QSA,L]

RewriteRule ^group-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)\.html$  index\.php\?m=Goods&a=index&$1=$2&$3=$4&$5=$6&$7=$8&$9=$10&$11=$12 [QSA,L]
RewriteRule ^group-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)\.html$  index\.php\?m=Goods&a=index&$1=$2&$3=$4&$5=$6&$7=$8&$9=$10 [QSA,L]
RewriteRule ^group-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)\.html$  index\.php\?m=Goods&a=index&$1=$2&$3=$4&$5=$6&$7=$8 [QSA,L]
RewriteRule ^group-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)\.html$  index\.php\?m=Goods&a=index&$1=$2&$3=$4&$5=$6 [QSA,L]
RewriteRule ^group-(.+)-(.+)-(.+)-(.+)\.html$  index\.php\?m=Goods&a=index&$1=$2&$3=$4 [QSA,L]
RewriteRule ^group-(.+)-(.+)\.html$  index\.php\?m=Goods&a=index&$1=$2 [QSA,L]

RewriteRule ^gs$  index\.php\?m=Goods&a=search [QSA,L]

RewriteRule ^gs-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)\.html$  index\.php\?m=Goods&a=search&$1=$2&$3=$4&$5=$6&$7=$8&$9=$10&$11=$12 [QSA,L]
RewriteRule ^gs-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)\.html$  index\.php\?m=Goods&a=search&$1=$2&$3=$4&$5=$6&$7=$8&$9=$10 [QSA,L]
RewriteRule ^gs-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)\.html$  index\.php\?m=Goods&a=search&$1=$2&$3=$4&$5=$6&$7=$8 [QSA,L]
RewriteRule ^gs-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)\.html$  index\.php\?m=Goods&a=search&$1=$2&$3=$4&$5=$6 [QSA,L]
RewriteRule ^gs-(.+)-(.+)-(.+)-(.+)\.html$  index\.php\?m=Goods&a=search&$1=$2&$3=$4 [QSA,L]
RewriteRule ^gs-(.+)-(.+)\.html$  index\.php\?m=Goods&a=search&$1=$2 [QSA,L]

RewriteRule ^info$  /index\.php\?m=Info&a=index [QSA,L]
RewriteRule ^info/cate/([0-9]+)$  index\.php\?m=Info&a=cate&id=$1 [QSA,L]
RewriteRule ^info/cate/([0-9]+)-(\w+)-([0-9]+)\.html$  index\.php\?m=Info&a=cate&id=$1&$2=$3 [QSA,L]
RewriteRule ^info/([0-9]+)\.html$  index\.php\?m=Info&a=show&id=$1 [QSA,L]
RewriteRule ^info/([0-9]+)-(\w+)-(\w+)\.html$  index\.php\?m=Info&a=show&id=$1&$2=$3 [QSA,L]

RewriteRule ^info/search-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)\.html$  index\.php\?m=Info&a=search&$1=$2&$3=$4&$5=$6 [QSA,L]
RewriteRule ^info/search-(.+)-(.+)-(.+)-(.+)\.html$  index\.php\?m=Info&a=search&$1=$2&$3=$4 [QSA,L]
RewriteRule ^info/search-(.+)-(.+)\.html$  index\.php\?m=Info&a=search&$1=$2 [QSA,L]

RewriteRule ^sale$  index\.php\?m=Sale&a=index [QSA,L]

RewriteRule ^sale-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)\.html$  index\.php\?m=Sale&a=index&$1=$2&$3=$4&$5=$6&$7=$8&$9=$10&$11=$12 [QSA,L]
RewriteRule ^sale-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)\.html$  index\.php\?m=Sale&a=index&$1=$2&$3=$4&$5=$6&$7=$8&$9=$10 [QSA,L]
RewriteRule ^sale-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)\.html$  index\.php\?m=Sale&a=index&$1=$2&$3=$4&$5=$6&$7=$8 [QSA,L]
RewriteRule ^sale-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)\.html$  index\.php\?m=Sale&a=index&$1=$2&$3=$4&$5=$6 [QSA,L]
RewriteRule ^sale-(.+)-(.+)-(.+)-(.+)\.html$  index\.php\?m=Sale&a=index&$1=$2&$3=$4 [QSA,L]
RewriteRule ^sale-(.+)-(.+)\.html$  index\.php\?m=Sale&a=index&$1=$2 [QSA,L]

RewriteRule ^ss$  index\.php\?m=Sale&a=search [QSA,L]

RewriteRule ^ss-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)\.html$  index\.php\?m=Sale&a=search&$1=$2&$3=$4&$5=$6&$7=$8&$9=$10&$11=$12 [QSA,L]
RewriteRule ^ss-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)\.html$  index\.php\?m=Sale&a=search&$1=$2&$3=$4&$5=$6&$7=$8&$9=$10 [QSA,L]
RewriteRule ^ss-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)\.html$  index\.php\?m=Sale&a=search&$1=$2&$3=$4&$5=$6&$7=$8 [QSA,L]
RewriteRule ^ss-(.+)-(.+)-(.+)-(.+)-(.+)-(.+)\.html$  index\.php\?m=Sale&a=search&$1=$2&$3=$4&$5=$6 [QSA,L]
RewriteRule ^ss-(.+)-(.+)-(.+)-(.+)\.html$  index\.php\?m=Sale&a=search&$1=$2&$3=$4 [QSA,L]
RewriteRule ^ss-(.+)-(.+)\.html$  index\.php\?m=Sale&a=search&$1=$2 [QSA,L]


RewriteRule ^wz/([0-9]+)\.html$  index\.php\?m=Article&a=show&id=$1 [QSA,L]

RewriteRule ^(\w+)-(\w+)\.html$  index\.php\?m=$1&a=$2 [QSA,L]
RewriteRule ^(\w+)-(\w+)-(\w+)-(\w+)\.html$  index\.php\?m=$1&a=$2&$3=$4 [QSA,L]
RewriteRule ^(\w+)-(\w+)-(\w+)-(\w+)-(\w+)-(\w+)\.html$  index\.php\?m=$1&a=$2&$3=$4&$5=$6 [QSA,L]

RewriteRule ^china$  index\.php\?m=Index&a=index&city=all [QSA,L]
RewriteRule ^china-(\w+)-(\w+)\.html$  index\.php\?m=Index&a=index&city=all&$1=$2 [QSA,L]

#CITYREWRITE_BEGIN
RewriteRule ^beijing$  index\.php\?m=Index&a=index&city=beijing [QSA,L]
RewriteRule ^beijing-(\w+)-(\w+)\.html$  index\.php\?m=Index&a=index&city=beijing&$1=$2 [QSA,L]
RewriteRule ^shanghai$  index\.php\?m=Index&a=index&city=shanghai [QSA,L]
RewriteRule ^shanghai-(\w+)-(\w+)\.html$  index\.php\?m=Index&a=index&city=shanghai&$1=$2 [QSA,L]
RewriteRule ^xian$  index\.php\?m=Index&a=index&city=xian [QSA,L]
RewriteRule ^xian-(\w+)-(\w+)\.html$  index\.php\?m=Index&a=index&city=xian&$1=$2 [QSA,L]
RewriteRule ^shen$  index\.php\?m=Index&a=index&city=shen [QSA,L]
RewriteRule ^shen-(\w+)-(\w+)\.html$  index\.php\?m=Index&a=index&city=shen&$1=$2 [QSA,L]
RewriteRule ^guangzhou$  index\.php\?m=Index&a=index&city=guangzhou [QSA,L]
RewriteRule ^guangzhou-(\w+)-(\w+)\.html$  index\.php\?m=Index&a=index&city=guangzhou&$1=$2 [QSA,L]
RewriteRule ^zhongqing$  index\.php\?m=Index&a=index&city=zhongqing [QSA,L]
RewriteRule ^zhongqing-(\w+)-(\w+)\.html$  index\.php\?m=Index&a=index&city=zhongqing&$1=$2 [QSA,L]
RewriteRule ^tianjin$  index\.php\?m=Index&a=index&city=tianjin [QSA,L]
RewriteRule ^tianjin-(\w+)-(\w+)\.html$  index\.php\?m=Index&a=index&city=tianjin&$1=$2 [QSA,L]
RewriteRule ^nanjing$  index\.php\?m=Index&a=index&city=nanjing [QSA,L]
RewriteRule ^nanjing-(\w+)-(\w+)\.html$  index\.php\?m=Index&a=index&city=nanjing&$1=$2 [QSA,L]
RewriteRule ^wuhan$  index\.php\?m=Index&a=index&city=wuhan [QSA,L]
RewriteRule ^wuhan-(\w+)-(\w+)\.html$  index\.php\?m=Index&a=index&city=wuhan&$1=$2 [QSA,L]
RewriteRule ^hangzhou$  index\.php\?m=Index&a=index&city=hangzhou [QSA,L]
RewriteRule ^hangzhou-(\w+)-(\w+)\.html$  index\.php\?m=Index&a=index&city=hangzhou&$1=$2 [QSA,L]
RewriteRule ^dalian$  index\.php\?m=Index&a=index&city=dalian [QSA,L]
RewriteRule ^dalian-(\w+)-(\w+)\.html$  index\.php\?m=Index&a=index&city=dalian&$1=$2 [QSA,L]
RewriteRule ^qingdao$  index\.php\?m=Index&a=index&city=qingdao [QSA,L]
RewriteRule ^qingdao-(\w+)-(\w+)\.html$  index\.php\?m=Index&a=index&city=qingdao&$1=$2 [QSA,L]
RewriteRule ^chengdu$  index\.php\?m=Index&a=index&city=chengdu [QSA,L]
RewriteRule ^chengdu-(\w+)-(\w+)\.html$  index\.php\?m=Index&a=index&city=chengdu&$1=$2 [QSA,L]
RewriteRule ^fuzhou$  index\.php\?m=Index&a=index&city=fuzhou [QSA,L]
RewriteRule ^fuzhou-(\w+)-(\w+)\.html$  index\.php\?m=Index&a=index&city=fuzhou&$1=$2 [QSA,L]
RewriteRule ^daqing$  index\.php\?m=Index&a=index&city=daqing [QSA,L]
RewriteRule ^daqing-(\w+)-(\w+)\.html$  index\.php\?m=Index&a=index&city=daqing&$1=$2 [QSA,L]
RewriteRule ^changzhou$  index\.php\?m=Index&a=index&city=changzhou [QSA,L]
RewriteRule ^changzhou-(\w+)-(\w+)\.html$  index\.php\?m=Index&a=index&city=changzhou&$1=$2 [QSA,L]
RewriteRule ^kunming$  index\.php\?m=Index&a=index&city=kunming [QSA,L]
RewriteRule ^kunming-(\w+)-(\w+)\.html$  index\.php\?m=Index&a=index&city=kunming&$1=$2 [QSA,L]
RewriteRule ^yantai$  index\.php\?m=Index&a=index&city=yantai [QSA,L]
RewriteRule ^yantai-(\w+)-(\w+)\.html$  index\.php\?m=Index&a=index&city=yantai&$1=$2 [QSA,L]
RewriteRule ^changsha$  index\.php\?m=Index&a=index&city=changsha [QSA,L]
RewriteRule ^changsha-(\w+)-(\w+)\.html$  index\.php\?m=Index&a=index&city=changsha&$1=$2 [QSA,L]
RewriteRule ^hefei$  index\.php\?m=Index&a=index&city=hefei [QSA,L]
RewriteRule ^hefei-(\w+)-(\w+)\.html$  index\.php\?m=Index&a=index&city=hefei&$1=$2 [QSA,L]
RewriteRule ^changchun$  index\.php\?m=Index&a=index&city=changchun [QSA,L]
RewriteRule ^changchun-(\w+)-(\w+)\.html$  index\.php\?m=Index&a=index&city=changchun&$1=$2 [QSA,L]
RewriteRule ^nantong$  index\.php\?m=Index&a=index&city=nantong [QSA,L]
RewriteRule ^nantong-(\w+)-(\w+)\.html$  index\.php\?m=Index&a=index&city=nantong&$1=$2 [QSA,L]
RewriteRule ^shenyang$  index\.php\?m=Index&a=index&city=shenyang [QSA,L]
RewriteRule ^shenyang-(\w+)-(\w+)\.html$  index\.php\?m=Index&a=index&city=shenyang&$1=$2 [QSA,L]
RewriteRule ^ningbo$  index\.php\?m=Index&a=index&city=ningbo [QSA,L]
RewriteRule ^ningbo-(\w+)-(\w+)\.html$  index\.php\?m=Index&a=index&city=ningbo&$1=$2 [QSA,L]
RewriteRule ^zhengzhou$  index\.php\?m=Index&a=index&city=zhengzhou [QSA,L]
RewriteRule ^zhengzhou-(\w+)-(\w+)\.html$  index\.php\?m=Index&a=index&city=zhengzhou&$1=$2 [QSA,L]
RewriteRule ^suzhou$  index\.php\?m=Index&a=index&city=suzhou [QSA,L]
RewriteRule ^suzhou-(\w+)-(\w+)\.html$  index\.php\?m=Index&a=index&city=suzhou&$1=$2 [QSA,L]
RewriteRule ^wuxi$  index\.php\?m=Index&a=index&city=wuxi [QSA,L]
RewriteRule ^wuxi-(\w+)-(\w+)\.html$  index\.php\?m=Index&a=index&city=wuxi&$1=$2 [QSA,L]
RewriteRule ^jinan$  index\.php\?m=Index&a=index&city=jinan [QSA,L]
RewriteRule ^jinan-(\w+)-(\w+)\.html$  index\.php\?m=Index&a=index&city=jinan&$1=$2 [QSA,L]
RewriteRule ^xiamen$  index\.php\?m=Index&a=index&city=xiamen [QSA,L]
RewriteRule ^xiamen-(\w+)-(\w+)\.html$  index\.php\?m=Index&a=index&city=xiamen&$1=$2 [QSA,L]
RewriteRule ^nanchang$  index\.php\?m=Index&a=index&city=nanchang [QSA,L]
RewriteRule ^nanchang-(\w+)-(\w+)\.html$  index\.php\?m=Index&a=index&city=nanchang&$1=$2 [QSA,L]
#CITYREWRITE_END
</IfModule>