URL默认如下:
http://www.domain.com/operate-search.html?range=1&keyword=中国
能正常出结果
URL手工改为:
http://www.domain.com/operate-search-_E4_B8_AD_E5_9B_BD-1.html
结果同上,也对
但默认是第一种,非伪静态方式。
配置文件conf.php中'url_rewrite_on'=>1
NGINX配置为:
rewrite ^((.*)/)?(.*).html$ $1/index.php last;
怀疑NGINX改为:
if (!-e $request_filename) {
rewrite ^((.*)/)?(.*).html$ $1/index.php last;
}
也一样,还是非伪静态。