sf_*_*anb 4 wordpress url-rewriting url-routing http-status-code-404
我把我的wordpress(3.0)博客移到了我的专用服务器上.
只有一件事是破碎的:
如果我在worpress中设置url
http://wwww.example.com/page?id=3
Run Code Online (Sandbox Code Playgroud)
页面正确显示
如果我将URL设置为:
http://wwww.example.com/about/
http://www.example.com/services/
Run Code Online (Sandbox Code Playgroud)
它最终得到404找不到的页面!
如果它有帮助,这是我的虚拟主机:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName www.example.fr
DocumentRoot /var/www/example
<Directory /var/www/example>
Options -Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access-example.log combined
ErrorLog /var/log/apache2/error-example.log
ServerSignature Off
</VirtualHost>
Run Code Online (Sandbox Code Playgroud)
谢谢
归档时间: |
|
查看次数: |
11793 次 |
最近记录: |