更改 url 后 Wordpress 出现 404 错误 [英] Wordpress giving 404 error after url change

查看:47
本文介绍了更改 url 后 Wordpress 出现 404 错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近刚刚通过 IIS 在 Server 2016 上设置了 Wordpress.默认情况下一切正常,本地主机为默认值.但是,每当我向站点添加绑定时,它就开始不起作用并且会出错.错误代码在这里.权限似乎没问题,除非我错过了一个重要步骤.

Just recently setup Wordpress on Server 2016 through IIS. Everything works fine at the defaults, with localhost as the defaults. However, whenever I add bindings to the site, it begins to not work and will give an error. Error code is here. Permissions seem to be fine, unless I missed an important step.

有人对如何解决这个问题有任何想法吗?我无法再通过本地主机、IP 或域名访问.

Anyone have any ideas on how to fix this? I can no longer access via localhost, the IP, or the domain name.

推荐答案

您需要更新 Permalink.转到您的 仪表板 ->设置 ->永久链接单击保存更改按钮.您可以在此处更改永久链接和存档的 URL 结构.

You need to update Permalink. go your Dashboard -> Setting -> permalink click on save change button. Here you can change URL structure for your permalinks and archives.

这篇关于更改 url 后 Wordpress 出现 404 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆