zencart1.3.8,zencart1.3.9 .htaccess規則

时间:12-09-28 栏目:ZenCart 作者:admin 评论:0 点击: 5,972 次

##### NOTE: Replace /shop/ with the relative web path of your catalog in the "Rewrite Base" line below:Options +FollowSymLinks
RewriteEngine On
RewriteBase /
# From Ultimate SEO URLs
RewriteRule ^(.*)-p-(.*).html$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]RewriteRule ^(.*)-c-(.*).html$ index\.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-m-([0-9]+).html$ index\.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-pi-([0-9]+).html$ index\.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L]RewriteRule ^(.*)-pr-([0-9]+).html$ index\.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-pri-([0-9]+).html$ index\.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L]
# For Open Operations Info Manager<br />RewriteRule ^(.*)-i-([0-9]+).html$ index\.php?main_page=info_manager&amp;pages_id=$2&amp;%{QUERY_STRING} [L]
# For dreamscape's News &amp; Articles Manager
RewriteRule ^news/?$ index\.php?main_page=news&amp;%{QUERY_STRING} [L]
RewriteRule ^news/rss.xml$ index\.php?main_page=news_rss&amp;%{QUERY_STRING} [L]
RewriteRule ^news/archive/?$ index\.php?main_page=news_archive&amp;%{QUERY_STRING} [L]
RewriteRule ^news/([0-9]{4})-([0-9]{2})-([0-9]{2}).html$ index\.php?main_page=news&amp;date=$1-$2-$3&amp;%{QUERY_STRING} [L]
RewriteRule ^news/archive/([0-9]{4})-([0-9]{2}).html$ index\.php?main_page=news_archive&amp;date=$1-$2&amp;%{QUERY_STRING} [L]
RewriteRule ^news/(.*)-a-([0-9]+)-comments.html$ index\.php?main_page=news_comments&amp;article_id=$2&amp;%{QUERY_STRING} [L]
RewriteRule ^news/(.*)-a-([0-9]+).html$ index\.php?main_page=news_article&amp;article_id=$2&amp;%{QUERY_STRING} [L]
RewriteRule ^-ezp-(.*).html$ index\.php?main_page=page&amp;id=$1&amp;%{QUERY_STRING} [L]
# All other pages
# Don't rewrite real files or directories
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*).html$ index\.php?main_page=$1&amp;%{QUERY_STRING} [L]

声明: 本文由( admin )原创编译,转载请保留链接: zencart1.3.8,zencart1.3.9 .htaccess規則

zencart1.3.8,zencart1.3.9 .htaccess規則:等您坐沙发呢!

发表评论


------====== 本站公告 ======------
联系信息:
电话:19970108113(微信同号) QQ:3142401606
支付宝:https://me.alipay.com/lxq73061
相关插件程序等信息均会在站内发布,敬请关注。

读者排行