咨询热线:18076568990、0755-25823180

[已解决] WT商城V3 nginx伪静态规则 shopwt b2b2c最新

4611564 发表于 2015-10-23 21:34:41
看看怎么样
回复

使用道具 举报

kingbug 发表于 2015-10-23 14:21:09
伪静态 测试!看看教程
回复

使用道具 举报

dalianwa 发表于 2015-10-23 09:59:45
WT商城V3 nginx伪静态规则 shopwt b2b2c最新
回复

使用道具 举报

lioulaoer 发表于 2015-10-22 09:54:13
真的假的,先观看观看
回复

使用道具 举报

ii8680 发表于 2015-10-21 16:30:09
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="规则 1">
                    <match url="^shop/item-([0-9]+)(-?)([0-9]*).html$" ignoreCase="false" />
                    <action type="Rewrite" url="shop/index.php?act=goods&amp;goods_id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="规则 2">
                    <match url="^shop/groupbuy-([0-9]+)-([0-9]+).html$" ignoreCase="false" />
                    <action type="Rewrite" url="shop/index.php?act=show_groupbuy&amp;op=groupbuy_detail&amp;group_id={R:1}&amp;id={R:2}" appendQueryString="false" />
                </rule>
                <rule name="规则 3">
                    <match url="^shop/article-([0-9]+).html$" ignoreCase="false" />
                    <action type="Rewrite" url="shop/index.php?act=article&amp;article_id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="规则 4">
                    <match url="^shop/store-([0-9]+).html$" ignoreCase="false" />
                    <action type="Rewrite" url="shop/index.php?act=show_store&amp;store_id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="规则 5">
                    <match url="^shop/activity-([0-9]+)-([0-9]*).html$" ignoreCase="false" />
                    <action type="Rewrite" url="shop/index.php?act=activity&amp;activity_id={R:1}&amp;nav_id={R:2}" appendQueryString="false" />
                </rule>
                <rule name="规则 6">
                    <match url="^shop/store_nav-([0-9]+)-([0-9]+).html$" ignoreCase="false" />
                    <action type="Rewrite" url="shop/index.php?act=show_store&amp;store_id={R:1}&amp;article={R:2}" appendQueryString="false" />
                </rule>
                <rule name="规则 7">
                    <match url="^shop/document-([a-zA-Z_]+).html$" ignoreCase="false" />
                    <action type="Rewrite" url="shop/index.php?act=document&amp;code={R:1}" appendQueryString="false" />
                </rule>
                <rule name="规则 8">
                    <match url="^shop/coupon_info-([0-9]+)-([0-9]+).html$" ignoreCase="false" />
                    <action type="Rewrite" url="shop/index.php?act=coupon_store&amp;op=detail&amp;coupon_id={R:1}&amp;id={R:2}" appendQueryString="false" />
                </rule>
                <rule name="规则 9">
                    <match url="^shop/cate-([0-9]+)-0-0-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-0.html$" ignoreCase="false" />
                    <action type="Rewrite" url="shop/index.php?act=search&amp;op=index&amp;cate_id={R:1}&amp;order={R:2}&amp;key={R:3}&amp;type={R:4}&amp;area_id={R:5}" appendQueryString="false" />
                </rule>
                <rule name="规则 10">
                    <match url="^shop/article_cate-([0-9]+)(-?)([0-9]*).html$" ignoreCase="false" />
                    <action type="Rewrite" url="shop/index.php?act=article&amp;op=article&amp;ac_id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="规则 11">
                    <match url="^shop/shop-([0-9]+)(-?)([0-9]*).html$" ignoreCase="false" />
                    <action type="Rewrite" url="shop/index.php?act=show_store&amp;op=index&amp;store_id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="规则 12">
                    <match url="^cms/article-([0-9]+)(-?)([0-9]*).html$" ignoreCase="false" />
                    <action type="Rewrite" url="cms/index.php?act=article&amp;op=article_detail&amp;article_id={R:1}" appendQueryString="false" />
                </rule>
                <rule name="规则 13">
                    <match url="^shop/shop_view-([0-9]+)-0-([0-9]+)-([0-9]+)-0.html$" ignoreCase="false" />
                    <action type="Rewrite" url="shop/index.php?act=show_store&amp;op=goods_all&amp;store_id={R:1}&amp;key={R:2}&amp;order={R:3}" appendQueryString="false" />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>
</configuration>
回复

使用道具 举报

bingyu8277 发表于 2015-10-20 21:49:09
学习呀,看一
回复

使用道具 举报

q2326q 发表于 2015-10-20 18:05:23
看下这个规则
回复

使用道具 举报

夜凝 发表于 2015-10-19 16:27:19
感谢楼主的分享,感谢WT商城!
回复

使用道具 举报

guanjia 发表于 2015-10-19 14:47:39
想看看,,,,
回复

使用道具 举报

huning 发表于 2015-10-19 00:45:30

WT商城V3 nginx伪静态规则
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

  • 今日
    0
  • 主题
    90

推荐贴子

联系我们

产品及方案咨询:18076568990、0755-25823180

电子邮箱:web@shopwt.com、客服微信:shopwtcom

公司地址:深圳市罗湖区人民南路3002号国贸大厦B座1608楼

  • 官方公众号

  • 微信客服