临淄信息港提供最新的临淄招聘信息、临淄房产信息、临淄二手信息,查信息就上https://10345.cn 。
新闻中心
  当前位置:首页 -> 社会聚焦 -> mymps5.9单城市的伪静态规则能分享下吗

mymps5.9单城市的伪静态规则能分享下吗

发布时间: 2021-09-17 21:33
5.8的套上去用不了,不晓得啥情况,5.8的可以用电脑版的手机版的需要新的规则。蚂蚁分类5.8手机端取消静态化后首页栏目点击一直跳首页怎么办?

rewrite ^(.*)/city/([a-zA-Z]+)/$ $1/city/$2/index.php last;

rewrite ^(.*)/category-catid-([0-9]+).html$ $1/category.php?catid=$2 last;

rewrite ^(.*)/category-catid-([0-9]+)-page-([0-9]+).html$ $1/category.php?catid=$2&page=$3 last;

rewrite ^(.*)/category-catid-([0-9]+)-areaid-([0-9]+).html$ $1/category.php?catid=$2&areaid=$3 last;

rewrite ^(.*)/category-catid-([0-9]+)-areaid-([0-9]+)-page-([0-9]+).html$ $1/category.php?catid=$2&areaid=$3&page=$4 last;

rewrite ^(.*)/category-catid-([0-9]+)-areaid-([0-9]+)-([a-zA-Z]+)-([0-9]+).html$ $1/category.php?catid=$2&areaid=$3&$4=$5 last;

rewrite ^(.*)/category-catid-([0-9]+)-([a-zA-Z_]+)-([0-9~]+).html$ $1/category.php?catid=$2&$3=$4 last;

rewrite ^(.*)/category-catid-([0-9]+)-([a-zA-Z_]+)-([0-9~]+)-([a-zA-Z_]+)-([0-9~]+).html$ $1/category.php?catid=$2&$3=$4&$5=$6 last;

rewrite ^(.*)/category-catid-([0-9]+)-([a-zA-Z_]+)-([0-9~]+)-([a-zA-Z_]+)-([0-9~]+)-([a-zA-Z_]+)-([0-9~]+).html$ $1/category.php?catid=$2&$3=$4&$5=$6&$7=$8 last;

rewrite ^(.*)/category-catid-([0-9]+)-([a-zA-Z_]+)-([0-9~]+)-([a-zA-Z_]+)-([0-9~]+)-([a-zA-Z_]+)-([0-9~]+)-([a-zA-Z_]+)-(?'n0'[0-9~]+).html$ $1/category.php?catid=$2&$3=$4&$5=$6&$7=$8&$9=$n0 last;

rewrite ^(.*)/category-catid-([0-9]+)-([a-zA-Z_]+)-([0-9~]+)-([a-zA-Z_]+)-([0-9~]+)-([a-zA-Z_]+)-([0-9~]+)-([a-zA-Z_]+)-(?'n0'[0-9~]+)-(?'n1'[a-zA-Z_]+)-(?'n2'[0-9~]+).html$ $1/category.php?catid=$2&$3=$4&$5=$6&$7=$8&$9=$n0&$n1=$n2 last;

rewrite ^(.*)/category-catid-([0-9]+)-([a-zA-Z_]+)-([0-9~]+)-([a-zA-Z_]+)-([0-9~]+)-([a-zA-Z_]+)-([0-9~]+)-([a-zA-Z_]+)-(?'n0'[0-9~]+)-(?'n1'[a-zA-Z_]+)-(?'n2'[0-9~]+)-(?'n3'[a-zA-Z_]+)-(?'n4'[0-9~]+).html$ $1/category.php?catid=$2&$3=$4&$5=$6&$7=$8&$9=$n0&$n1=$n2&$n3=$n4 last;

rewrite ^(.*)/category-catid-([0-9]+)-([a-zA-Z_]+)-([0-9~]+)-([a-zA-Z_]+)-([0-9~]+)-([a-zA-Z_]+)-([0-9~]+)-([a-zA-Z_]+)-(?'n0'[0-9~]+)-(?'n1'[a-zA-Z_]+)-(?'n2'[0-9~]+)-(?'n3'[a-zA-Z_]+)-(?'n4'[0-9~]+)-(?'n5'[a-zA-Z_]+)-(?'n6'[0-9~]+).html$ $1/category.php?catid=$2&$3=$4&$5=$6&$7=$8&$9=$n0&$n1=$n2&n3=$n4&$n5=$n6 last;

rewrite ^(.*)/space/(.+)/$ $1/space.php?user=$2 last; 

rewrite ^(.*)/store-([0-9]+)/$ $1/store.php?uid=$2 last; 

rewrite ^(.*)/store-([0-9]+)/([\/]+).html$ $1/store.php?uid=$2&Uid=$3 last; 

rewrite ^(.*)/(?!store|space)(.+)/$ $1/category.php?Catid=$2 last; 

rewrite ^(.*)/information-id-([0-9]+).html$ $1/information.php?id=$2 last; 

rewrite ^(.*)/news.html$ $1/news.php last; 

rewrite ^(.*)/news-id-([0-9]+).html$ $1/news.php?id=$2 last; 

rewrite ^(.*)/news-catid-([0-9]+).html$ $1/news.php?catid=$2 last; 

rewrite ^(.*)/news-catid-([0-9]+)-page-([0-9]+).html$ $1/news.php?catid=$1&page=$2 last;

rewrite ^(.*)/goods.html$ $1/goods.php last; 

rewrite ^(.*)/goods-id-([0-9]+).html$ $1/goods.php?id=$2 last; 

rewrite ^(.*)/goods-([\/]+).html$ $1/goods.php?Catid=$2 last; 

rewrite ^(.*)/corporation.html$ $1/corporation.php last;

rewrite ^(.*)/corporation-([a-zA-Z_]+)-([0-9~]+).html$ $1/corporation.php?$2=$3 last;

rewrite ^(.*)/corporation-([a-zA-Z_]+)-([0-9~]+)-([a-zA-Z_]+)-([0-9~]+).html$ $1/corporation.php?$2=$3&$4=$5 last;

rewrite ^(.*)/corporation-([a-zA-Z_]+)-([0-9~]+)-([a-zA-Z_]+)-([0-9~]+)-([a-zA-Z_]+)-([0-9~]+).html$ $1/corporation.php?$2=$3&$4=$5&$6=$7 last; 

rewrite ^(.*)/corporation-([\/]+).html$ $1/corporation.php?Catid=$2 last; 

rewrite ^(.*)/aboutus.html$ $1/about.php?part=aboutus last; 

rewrite ^(.*)/sitemap.html$ $1/about.php?part=sitemap last; 

rewrite ^(.*)/aboutus-id-([0-9]+).html$ $1/about.php?part=aboutus&id=$2 last; 

rewrite ^(.*)/announce.html$ $1/about.php?part=announce&id=$2 last; 

rewrite ^(.*)/faq.html$ $1/about.php?part=faq last; 

rewrite ^(.*)/faq-id-([0-9]+).html$ $1/about.php?part=faq&id=$2 last; 

rewrite ^(.*)/friendlink.html$ $1/about.php?part=friendlink last;