wordress在windows下实现Permalinks

前一阵子一直在空间里调wordpress很慢,而且也影响浏览,于是今天就在本机上用SOAWAMP在本机上搭一wordpress,可是在选permalinks时,报错“You don’t have permission to access /blog/wp-admin/options-permalink.php on this server”,然后所有网页都打不开了,我的那个盘还是fat32格式啊,在windows上什么也不懂,找了半天,在.hu结尾的网站上看见一段代码,可能是匈牙利的吧,除了那段代码一个字也不认识,死马当活马医,只管贴覆盖到.htaccess里面,一切正常了。代码是:

# BEGIN WordPress
Options +FollowSymLinks
Options +SymlinksIfOwnerMatch

RewriteEngine On
RewriteBase /blog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
# END WordPress

Leave a Reply

Your email address will not be published. Required fields are marked *