大家知道,使用织梦做站,网址后面都会出现index.html这个后缀,虽然不影响SEO,但是也很不好看!
去除首页跳转index.html
更改index.php页面把
header('HTTP/1.1 301 Moved Permanently');
header('Location:index.html'); 替换成
include(dirname(__FILE__).'/index.html'); exit(); 即可。