gpt4 book ai didi

WordPress : URL error 404 but the page exists

转载 作者:行者123 更新时间:2023-12-02 23:18:50 27 4
gpt4 key购买 nike

我将我的 WordPress (3.0) 博客移至我的专用服务器。

只有一件事被破坏了:

如果我将 worpress 中的 url 设置为

http://wwww.example.com/page?id=3

页面正确显示

如果我将 URL 设置为:

http://wwww.example.com/about/
http://www.example.com/services/

最终会出现 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>

谢谢你

最佳答案

Wordpress 使用 .htaccess 进行重定向,您是否尝试过将 AllowOverride None 指令更改为 AllowOverride All

关于WordPress : URL error 404 but the page exists,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3233023/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com