首页 学习笔记正文

5.9单城市的伪静态规则能分享下吗

zuozuo 学习笔记 2021-04-07 18:06:57 50 0

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

5.9单城市的伪静态规则能分享下吗

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

5.9单城市的伪静态规则能分享下吗

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;


版权声明

声明:本站所有主题/文章除标明原创外,均来自网络转载,版权归原作者所有,如果有侵犯到您的权益,请联系本站删除,谢谢合作!

发表评论

评论列表(0人评论 , 50人围观)
☹还没有评论,来说两句吧...

深圳seo优化|网站排名优化|网络推广霸屏服务-左左SEO笔记

http://www.hkseoer.com/

统计代码 | 京ICP备100000000

Powered By 左左seo笔记

使用手机软件扫描微信二维码

关注我们可获取更多热点资讯

Honor accompaniments. theme qk_teat