最近在Windows2008 server上线wordpress网站时发现,访问的时候一定要加index.php,否则不能访问,这是win 平台很常见的问题。下面为解决办法:
1、首先去我的网盘下载rewrite文件,将文件解压后放在网站根目录。
https://pan.baidu.com/s/1i5ILxB3
2、再进到IIS里面找到ISAPI筛选器

3、进去后右上角点击添加,名称随便取,文件选择刚才那个文件夹中的某个文件

4、完成,不用重启iis,直接生效,链接中没有index.php也能访问了
