1℃
为什么要实现伪静态,我就不多说了。
案例一,多个参数如何替换
亿枝客比较导购网产品列表,上下页地址如下格式:
http://www.yicike.com/category.php?categoryId=1169&&minPrice=0&maxPrice=0&mer=&manu=&so=&t=11621&x=16
非常长,将近8个参数,我们如何处理呢,经过多次尝试最后,解决如下:
RewriteEngine on
RewriteBase /
RewriteRule ^mp([0-9]*)-([0-9]*)-([0-9]*)-([0-9]*)-([0-9]*)-([0-9]*)-([0-9]*)-([0-9]*).htm
category.php?categoryId=$1&&minPrice...
.htaccess, Apache, 伪静态, 网络营销阅读全文



