所在位置: 伪静态

zencart伪静态规则

2018-01-11 19:43:44 来源:伪静态 阅读 ()

<?xml version="1.0" encoding="UTF-8" ?>
- <appcmd>
- <CONFIG CONFIG.SECTION="system.webServer/rewrite/rules">
- <system.webServer-rewrite-rules>
- <rule name="sudu_pseudostatic_zencart_rule1" patternSyntax="ECMAScript" stopProcessing="true">
  <match url="^(.*)-p-(.*).html$" ignoreCase="false" />
  <action type="Rewrite" url="index.php?main_page=product_info&products_id={R:2}&{QUERY_STRING}" appendQueryString="false" />
  </rule>
- <rule name="sudu_pseudostatic_zencart_rule2" patternSyntax="ECMAScript" stopProcessing="true">
  <match url="^(.*)-c-(.*).html$" ignoreCase="false" />
  <action type="Rewrite" url="index.php?main_page=index&cPath={R:2}&{QUERY_STRING}" appendQueryString="false" />
  </rule>
- <rule name="sudu_pseudostatic_zencart_rule3" patternSyntax="ECMAScript" stopProcessing="true">
  <match url="^(.*)-m-([0-9]+).html$" ignoreCase="false" />
  <action type="Rewrite" url="index.php?main_page=index&manufacturers_id={R:2}&{QUERY_STRING}" appendQueryString="false" />
  </rule>
- <rule name="sudu_pseudostatic_zencart_rule4" patternSyntax="ECMAScript" stopProcessing="true">
  <match url="^(.*)-pi-([0-9]+).html$" ignoreCase="false" />
  <action type="Rewrite" url="index.php?main_page=popup_image&pID={R:2}&{QUERY_STRING}" appendQueryString="false" />
  </rule>
- <rule name="sudu_pseudostatic_zencart_rule5" patternSyntax="ECMAScript" stopProcessing="true">
  <match url="^(.*)-pr-([0-9]+).html$" ignoreCase="false" />
  <action type="Rewrite" url="index.php?main_page=product_reviews&products_id={R:2}&{QUERY_STRING}" appendQueryString="false" />
  </rule>
- <rule name="sudu_pseudostatic_zencart_rule6" patternSyntax="ECMAScript" stopProcessing="true">
  <match url="^(.*)-pri-([0-9]+).html$" ignoreCase="false" />
  <action type="Rewrite" url="index.php?main_page=product_reviews_info&products_id={R:2}&{QUERY_STRING}" appendQueryString="false" />
  </rule>
- <rule name="sudu_pseudostatic_zencart_rule7" patternSyntax="ECMAScript" stopProcessing="true">
  <match url="^(.*)-ezp-([0-9]+).html$" ignoreCase="false" />
  <action type="Rewrite" url="index.php?main_page=page&id={R:2}&{QUERY_STRING}" appendQueryString="false" />
  </rule>
- <rule name="sudu_pseudostatic_zencart_rule8" patternSyntax="ECMAScript" stopProcessing="true">
  <match url="^(.*)-i-([0-9]+).html$" ignoreCase="false" />
  <action type="Rewrite" url="index.php?main_page=info_manager&pages_id={R:2}&{QUERY_STRING}" appendQueryString="false" />
  </rule>
- <rule name="sudu_pseudostatic_zencart_rule9" patternSyntax="ECMAScript" stopProcessing="true">
  <match url="^news/?$" ignoreCase="false" />
  <action type="Rewrite" url="index.php?main_page=news&{QUERY_STRING}" appendQueryString="false" />
  </rule>
- <rule name="sudu_pseudostatic_zencart_rule10" patternSyntax="ECMAScript" stopProcessing="true">
  <match url="^news/rss.xml$" ignoreCase="false" />
  <action type="Rewrite" url="index.php?main_page=news_rss&{QUERY_STRING}" appendQueryString="false" />
  </rule>
- <rule name="sudu_pseudostatic_zencart_rule11" patternSyntax="ECMAScript" stopProcessing="true">
  <match url="^news/archive/?$" ignoreCase="false" />
  <action type="Rewrite" url="index.php?main_page=news_archive&{QUERY_STRING}" appendQueryString="false" />
  </rule>
- <rule name="sudu_pseudostatic_zencart_rule12" patternSyntax="ECMAScript" stopProcessing="true">
  <match url="^news/([0-9]{4})-([0-9]{2})-([0-9]{2}).html$" ignoreCase="false" />
  <action type="Rewrite" url="index.php?main_page=news&date={R:1}-{R:2}-{R:3}&{QUERY_STRING}" appendQueryString="false" />
  </rule>
- <rule name="sudu_pseudostatic_zencart_rule13" patternSyntax="ECMAScript" stopProcessing="true">
  <match url="^news/archive/([0-9]{4})-([0-9]{2}).html$" ignoreCase="false" />
  <action type="Rewrite" url="index.php?main_page=news_archive&date={R:1}-{R:2}&{QUERY_STRING}" appendQueryString="false" />
  </rule>
- <rule name="sudu_pseudostatic_zencart_rule14" patternSyntax="ECMAScript" stopProcessing="true">
  <match url="^news/(.*)-a-([0-9]+)-comments.html$" ignoreCase="false" />
  <action type="Rewrite" url="index.php?main_page=news_comments&article_id={R:2}&{QUERY_STRING}" appendQueryString="false" />
  </rule>
- <rule name="sudu_pseudostatic_zencart_rule15" patternSyntax="ECMAScript" stopProcessing="true">
  <match url="^news/(.*)-a-([0-9]+).html$" ignoreCase="false" />
  <action type="Rewrite" url="index.php?main_page=news_article&article_id={R:2}&{QUERY_STRING}" appendQueryString="false" />
  </rule>
- <rule name="sudu_pseudostatic_zencart_rule16" patternSyntax="ECMAScript" stopProcessing="true">
  <match url="^(.*).html$" ignoreCase="false" />
- <conditions>
  <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
  <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
  </conditions>
  <action type="Rewrite" url="index.php?main_page={R:1}&{QUERY_STRING}" appendQueryString="false" />
  </rule>
  </system.webServer-rewrite-rules>
  </CONFIG>
  </appcmd>xse聚合猫-网站目录,网址导航,分类目录,免费收录


xse聚合猫-网站目录,网址导航,分类目录,免费收录

xse聚合猫-网站目录,网址导航,分类目录,免费收录

    聚合猫--优质网站推荐分享,以网站目录和网址导航为主,同时提供网站优化和网站建设资源的收集与分享,以及办公常用软件使用教程。以上内容均收集自网络,商务合作与侵权投诉请联系qq33032750。xse聚合猫-网站目录,网址导航,分类目录,免费收录

聚合猫 蜀ICP备13005416号-5 公安备51010502010395 商务合作 侵权投诉请联系QQ:33032750点击收藏小提示:按键盘CTRL+D也能收藏哦!