Wordpress默认的连接形式是 www.domain.com/?p=1 这样的格式, 第一次设置Wordpress的固定链接是在Win的主机上,我发现只能将其设置为类似 /index.php/%post_id% 这样的伪静态格式。这个index.php让人看上去很不舒服,在Apache下就可以直接使用 /%post_id% ,原因是Wordpress可以自动配置.htaccess文件,在WP后台修改完配置以后WP目录的.htaccess文件多了如下字段: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On Rewrit...