首页 > CMS应用 > 正文
Mymaps5.8蚂蚁分类信息系统nginx伪静态规则

最近有用到Mymaps5.8蚂蚁分类信息这个系统,因为这个程序不是免费的,都是测试的都是一些网上分享的破解版本,然后会遇到各种的问题,特别是在设置伪静态的时候,网上分享的一些伪静态规则几乎没有完整的,折腾了一会儿给补全了,分享出来。

rewrite ^/(.+)/$ /category.php?Catid=$1 last;
rewrite ^/([^/]+)/([0-9]+).html$ /information.php?id=$2 last;
rewrite ^/news.html$ /news.php last;
rewrite ^/news-id-([0-9]+).html$ /news.php?id=$1 last;
rewrite ^/news-catid-([0-9]+).html$ /news.php?catid=$1 last;
rewrite ^/news-catid-([0-9]+)-page-([0-9]+).html$ /news.php?catid=$1&page=$2 last;
rewrite ^/goods.html$ /goods.php last;
rewrite ^/goods-id-([0-9]+).html$ /goods.php?id=$1 last;
rewrite ^/goods-([^/]+).html$ /goods.php?Catid=$1 last;
rewrite ^/corporation.html$ /corporation.php last;
rewrite ^/corporation-([^/]+).html$ /corporation.php?Catid=$1 last;
rewrite ^/aboutus.html$ /about.php?part=aboutus last;
rewrite ^/sitemap.html$ /about.php?part=sitemap last;
rewrite ^/aboutus-id-([0-9]+).html$ /about.php?part=aboutus&id=$1 last;
rewrite ^/announce.html$ /about.php?part=announce&id=$1 last;
rewrite ^/faq.html$ /about.php?part=faq last;
rewrite ^/faq-id-([0-9]+).html$ /about.php?part=faq&id=$1 last;
rewrite ^/friendlink.html$ /about.php?part=friendlink last;
rewrite ^/space/(.+)/$ /space.php?user=$1 last;
rewrite ^/store-([0-9]+)/$ /store.php?uid=$1 last;
rewrite ^/store-([0-9]+)/([^/]+).html$ /store.php?uid=$1&Uid=$2 last;
rewrite ^/category-([^\/]+)\.html$ /category.php?CAtid=$1  last;
rewrite ^/information-id-([0-9]+)\.html$ /information.php?id=$1  last;

文章评论

共有 0 条评论

    Top