WordPress的永久链接的问题

WordPress使用htaccess文件完成缺省的链接到自定义链接的转换,但如果是在linux下的apache下建站,而且一般都是有多个虚拟主机的,直接修改整个系统的AllowOverride配置不太好,我们可以只修改你的虚拟主机的AllowOverride配置,如下:
<Directory /www/jiehoo>
   AllowOverride All
</Directory>

<VirtualHost *:80>
    ServerAdmin cherami.lm@gmail.com
    DocumentRoot /www/jiehoo
    DirectoryIndex index.php
    ServerName www.jiehoo.com
    ServerAlias jiehoo.com
    ErrorLog logs/jiehoo-error_log
    CustomLog logs/jiehoo-access_log common
</VirtualHost>


作者: Cherami
原载: WordPress的永久链接的问题
版权所有。转载时必须以链接形式注明作者和原始出处及本声明。

日志评价

 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 Votes | Average: 0 out of 5 (暂无评价) --点击星星直接投票
Loading ... Loading ...


相关日志



随机日志



添加到网摘

[del.icio.us]  [新浪 VIVI]  [365key]  [YouNote]  [博采中心]  [Poco]  [SOHU狐摘]  [天极网摘]  [和讯网摘]
喜欢这个插件?

当前日志信息