5

我已经安装了wordpress,现在http://localhost/wp-login.php之类的都可以了。假设我想访问诸如http://localhost/something-here/这样的页面会给我一个 404 错误。此 404 错误仅发生在本地主机上,而不是实时服务器上。

这是什么原因。

谢谢让

4

4 回答 4

2

尝试刷新您的 URL:转到SettingsPermalinksUpdate

于 2011-01-05T17:11:50.313 回答
1

WAMP中,您可以做的是转到WAMP icon in the system tray > Apache > Apache Modules > Tick the rewrite_module.

于 2012-07-17T10:38:17.070 回答
0

如果您使用的是 wamp,请单击 wamp 图标并:Apache > Apache Modules >确保选中 rewrite_module。

于 2011-01-05T11:22:06.217 回答
0

请按照以下步骤操作 1. URL:转到设置 → 永久链接设置 → 通用设置 2. 选择本地服务器的默认 url 格式

于 2015-06-25T11:57:03.660 回答