全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

IP归属甄别会员请立即修改密码
查看: 431|回复: 2
打印 上一主题 下一主题

技术帝帮我转下HTACCESS规则

[复制链接]
跳转到指定楼层
1#
发表于 2013-3-28 14:54:48 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
RewriteRule ^producttags/$ index\.php?main_page=producttags [L]
RewriteRule ^producttags/([-\w]+)/$ index\.php?main_page=producttags&letter=$1&%{QUERY_STRING} [L]
RewriteRule ^producttags/([\w])/([0-9]+).html$ index\.php?main_page=producttags&letter=$1&page=$2&%{QUERY_STRING} [L]
RewriteRule ^wishlist/$ index\.php?main_page=wishlist [L]
RewriteRule ^wishlist/([\w])/$ index\.php?main_page=wishlist&letter=$1&%{QUERY_STRING} [L]
RewriteRule ^wishlist/([-\w]+)/([0-9]+).html$ index\.php?main_page=wishlist&letter=$1&page=$2&%{QUERY_STRING} [L]
RewriteRule .* index.php?%{QUERY_STRING} [L]
#products_products
RewriteRule ^tags_products/$ index\.php?main_page=tags_products [L]
RewriteRule ^(.*)_([0-9]+)$ index\.php?main_page=tags_products&tags_name=$1&tags_id=$2&%{QUERY_STRING} [L]


# Don't rewrite any URIs ending with a file extension (ending with .[xxxxx]) except .html
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,5}$ [OR]
RewriteCond %{REQUEST_URI} \.(html)$ [NC]


3#
发表于 2013-3-28 16:57:31 | 只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
2#
发表于 2013-3-28 15:12:14 | 只看该作者
等待技术帝
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-9-24 07:35 , Processed in 0.191779 second(s), 13 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表