关注公众号:“站长笔记”或“站长笔记网”;下载资源请登录电脑端体验更佳,站长笔记网域名:www.zzbj.net
首页:fenlei.html
分类信息首页:fenlei-{stid}.html
分类页: cat-{catid}-{province}-{city}-{dist}-{orderby}-{keyword}-{filter}-{stid}.html
分类信息详情页:xinxi-{pubid}-{stid}.html
对应规则
location / { rewrite ^([^\.]*)/fenlei\.html$ $1/plugin.php?id=xigua_hb last; rewrite ^([^\.]*)/fenlei-([0-9]*)\.html$ $1/plugin.php?id=xigua_hb&st=$2 last; rewrite ^([^\.]*)/cat-([0-9]+)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-([0-9]*)\.html$ $1/plugin.php?id=xigua_hb&ac=cat&cat_id=$2&province=$3&city=$4&dist=$5&orderby=$6&keyword=$7&filter=$8&st=$9 last; rewrite ^([^\.]*)/xinxi-([0-9]+)-([0-9]*)\.html$ $1/plugin.php?id=xigua_hb&ac=view&pubid=$2&st=$3 last; rewrite ^([^\.]*)/shangjia\.html$ $1/plugin.php?id=xigua_hs last; rewrite ^([^\.]*)/hangye_([0-9]+)\.html$ $1/plugin.php?id=xigua_hs&ac=hangye&hyid=$2 last; rewrite ^([^\.]*)/shop_([0-9]+)\.html$ $1/plugin.php?id=xigua_hs&ac=view&shid=$2 last;