全球主机交流论坛
标题:
技术帝帮我转下HTACCESS规则
[打印本页]
作者:
田总
时间:
2013-3-28 14:54
标题:
技术帝帮我转下HTACCESS规则
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]
作者:
白日梦
时间:
2013-3-28 15:12
等待技术帝
作者:
cfrs2005
时间:
2013-3-28 16:57
提示:
作者被禁止或删除 内容自动屏蔽
欢迎光临 全球主机交流论坛 (https://443502.xyz/)
Powered by Discuz! X3.4