【问题标题】:How can i solve page not found problem on my wordpress website如何解决我的 wordpress 网站上找不到页面的问题
【发布时间】:2020-02-09 04:32:34
【问题描述】:

每当我点击我的一些页面时,我都会遇到这个问题。表明: 在此服务器上找不到请求的 URL。 此外,在尝试使用 ErrorDocument 处理请求时遇到 404 Not Found 错误。

【问题讨论】:

  • 您是否在将页面添加到菜单后重命名了它们?

标签: javascript php html css wordpress


【解决方案1】:

这可能是您的 .htaccess 的问题。 将这些代码添加到 .htaccess 文件中:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-02-20
    • 2012-09-17
    • 2013-12-12
    • 2023-04-10
    • 1970-01-01
    • 2019-07-11
    • 2022-11-03
    相关资源
    最近更新 更多