当前位置 > 首页 >企业新闻 >详细页面
    分类导航
    联系我们

    地址:河南省南阳市桐柏县

    联系:站长

    手机:

    微信:

    蚂蚁分类Mymps5.8单城市版Nginx伪静态规则

            2019-09-29        837次浏览

    rewrite ^/space/(.+)/$ /space.php?user=$1;
    rewrite ^/store-([0-9]+)/$ /store.php?uid=$1;
    rewrite ^/store-([0-9]+)/([^/]+).html$ /store.php?uid=$1&Uid=$2;
    if (!-d $request_filename){
    set $rule_3 1$rule_3;
    }
    if ($rule_3 = "1"){
    rewrite ^/(?!store|space)(.+)/$ /category.php?Catid=$1;
    }
    rewrite ^/([^/]+)/([0-9]+).html$ /information.php?id=$2;
    rewrite ^/news.html$ /news.php;
    rewrite ^/news-id-([0-9]+).html$ /news.php?id=$1;
    rewrite ^/news-catid-([0-9]+).html$ /news.php?catid=$1;
    rewrite ^/news-catid-([0-9]+)-page-([0-9]+).html$ /news.php?catid=$1&page=$2;
    rewrite ^/goods.html$ /goods.php;
    rewrite ^/goods-id-([0-9]+).html$ /goods.php?id=$1;
    rewrite ^/goods-([^/]+).html$ /goods.php?Catid=$1;
    rewrite ^/corporation.html$ /corporation.php;
    rewrite ^/corporation-([^/]+).html$ /corporation.php?Catid=$1;
    rewrite ^/aboutus.html$ /about.php?part=aboutus;
    rewrite ^/sitemap.html$ /about.php?part=sitemap;
    rewrite ^/aboutus-id-([0-9]+).html$ /about.php?part=aboutus&id=$1;
    rewrite ^/announce.html$ /about.php?part=announce&id=$1;
    rewrite ^/faq.html$ /about.php?part=faq;
    rewrite ^/faq-id-([0-9]+).html$ /about.php?part=faq&id=$1;
    rewrite ^/friendlink.html$ /about.php?part=friendlink;

    被浏览过 86212 次     店铺 编号1     网店登录     免费注册     技术支持:商务信息网    

    1

    回到顶部