ECshop伪静态规则
来源:互联网 发布:ecshop微信商城源码 编辑:程序博客网 时间:2024/05/28 05:14
小菜鸟一枚,下面给大家分享下ECshop的伪静态规则,仅供参考,不一定每个都合适,自定义页面写在direct one-word access下。
<FilesMatch "\.(bak|inc|lib|sh|tpl|lbi|dwt)$"> order deny,allow deny from all</FilesMatch>RewriteEngine On#RewriteBase /ecshop# direct one-word accessRewriteRule ^index\.html$ index\.php [L]RewriteRule ^category$ index\.php [L]RewriteRule ^about\.html$ about\.php [L]# access any object by its numeric identifierRewriteRule ^feed-c([0-9]+)\.xml$ feed\.php\?cat=$1 [L]RewriteRule ^feed-b([0-9]+)\.xml$ feed\.php\?brand=$1 [L]RewriteRule ^feed-type([^-]+)\.xml$ feed\.php\?type=$1 [L]RewriteRule ^feed\.xml$ feed\.php [L]RewriteRule ^category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$ category\.php\?id=$1&brand=$2&price_min=$3&price_max=$4&filter_attr=$5&page=$6&sort=$7&order=$8 [QSA,L]RewriteRule ^category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)(.*)\.html$ category\.php\?id=$1&brand=$2&price_min=$3&price_max=$4&filter_attr=$5 [QSA,L]RewriteRule ^category-([0-9]+)-b([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$ category\.php\?id=$1&brand=$2&page=$3&sort=$4&order=$5 [QSA,L]RewriteRule ^category-([0-9]+)-b([0-9]+)-([0-9]+)(.*)\.html$ category\.php\?id=$1&brand=$2&page=$3 [QSA,L]RewriteRule ^category-([0-9]+)-b([0-9]+)(.*)\.html$ category\.php\?id=$1&brand=$2 [QSA,L]RewriteRule ^category-([0-9]+)(.*)\.html$ category\.php\?id=$1 [QSA,L]RewriteRule ^goods-([0-9]+)(.*)\.html$ goods\.php\?id=$1 [QSA,L]RewriteRule ^article_cat-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$ article_cat\.php\?id=$1&page=$2&sort=$3&order=$4 [QSA,L]RewriteRule ^article_cat-([0-9]+)-([0-9]+)-(.+)(.*)\.html$ article_cat\.php\?id=$1&page=$2&keywords=$3 [QSA,L]RewriteRule ^article_cat-([0-9]+)-([0-9]+)(.*)\.html$ article_cat\.php\?id=$1&page=$2 [QSA,L]RewriteRule ^article_cat-([0-9]+)(.*)\.html$ article_cat\.php\?id=$1 [QSA,L]RewriteRule ^article-([0-9]+)(.*)\.html$ article\.php\?id=$1 [QSA,L]RewriteRule ^brand-([0-9]+)-c([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)\.html brand\.php\?id=$1&cat=$2&page=$3&sort=$4&order=$5 [QSA,L]RewriteRule ^brand-([0-9]+)-c([0-9]+)-([0-9]+)(.*)\.html brand\.php\?id=$1&cat=$2&page=$3 [QSA,L]RewriteRule ^brand-([0-9]+)-c([0-9]+)(.*)\.html brand\.php\?id=$1&cat=$2 [QSA,L]RewriteRule ^brand-([0-9]+)(.*)\.html brand\.php\?id=$1 [QSA,L]RewriteRule ^tag-(.*)\.html search\.php\?keywords=$1 [QSA,L]RewriteRule ^snatch-([0-9]+)\.html$ snatch\.php\?id=$1 [QSA,L]RewriteRule ^group_buy-([0-9]+)\.html$ group_buy\.php\?act=view&id=$1 [QSA,L]RewriteRule ^auction-([0-9]+)\.html$ auction\.php\?act=view&id=$1 [QSA,L]RewriteRule ^exchange-id([0-9]+)(.*)\.html$ exchange\.php\?id=$1&act=view [QSA,L]RewriteRule ^exchange-([0-9]+)-min([0-9]+)-max([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$ exchange\.php\?cat_id=$1&integral_min=$2&integral_max=$3&page=$4&sort=$5&order=$6 [QSA,L]RewriteRule ^exchange-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$ exchange\.php\?cat_id=$1&page=$2&sort=$3&order=$4 [QSA,L]RewriteRule ^exchange-([0-9]+)-([0-9]+)(.*)\.html$ exchange\.php\?cat_id=$1&page=$2 [QSA,L]RewriteRule ^exchange-([0-9]+)(.*)\.html$ exchange\.php\?cat_id=$1 [QSA,L]
阅读全文
0 0
- ECshop伪静态规则
- ecshop实现伪静态规则
- Ecshop IIS Rewrite伪静态规则
- ecshop伪静态问题
- ECShop Nginx伪静态
- ecshop静态、 ecshop伪静态、ecshop伪静态设置详细方法、ECSHOP静态化方法
- ecshop 去掉版权 伪静态
- ecshop如何开启伪静态
- ecshop+ectouch LANP伪静态
- apache伪静态规则
- 伪静态规则配置
- nginx伪静态规则
- 伪静态规则
- ecshop伪静态的实现技巧
- 为ecshop部署伪静态IIRF-IonicIsapiRewriter
- 伪静态常用系统规则
- ImageWheel script伪静态规则
- Laravel nginx 伪静态规则
- IntelliJ IDEA的安装与破解
- thymeleaf 模板
- 任正非为什么说要重视低端机?
- ios开发--极光推送(jpush)遇坑1---导入sdk
- 统计学学习笔记——(6)概率分布
- ECshop伪静态规则
- 1071. 小赌怡情(15)
- Linux的进程状态
- ORB算子解读
- 线程池的使用(newCachedThreadPool、newFixedThreadPool、newScheduledThreadPool、newSingleThreadExecutor)
- js的基本数据类型有哪些?
- Maven学习总结(二)——Maven项目构建过程练习
- launcher3 使用forceReload 刷新界面闪烁
- 云硬盘映射、分区、初始化、挂载