记个笔记
用X-plore删除c:/private/10202be9/persists/10275102.cre后重启即可
如果没有X-plore,猛击下载
经过长时间的查找资料,终于搞定了Wordpress在IIS下伪静态的功能了,给大家分享一下,顺便也是给自己做个笔记吧。
首页你的主机要装Rewrite 组件,现在国内很多WINDOWS主机都有装这个了。
然后在httpd.ini 中加入如下代码:
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
# Rules to ensure that normal content gets through
RewriteRule /sitemap.xml /sitemap.xml [L]
RewriteRule /favicon.ico /favicon.ico [L]
# For file-based wordpress content (i.e. theme), admin, etc.
RewriteRule /wp-(.*) /wp-$1 [L]
# For normal wordpress content, via index.php
RewriteRule ^/$ /index.php [L]
RewriteRule /(.*) /index.php/$1 [L]