【发布时间】:2021-03-29 17:49:33
【问题描述】:
我无法将永久链接设置为以帖子名称结尾。我收到 404 错误。我得到的最接近的是将自定义永久链接设置为:
/index.php/%postname%
但这会导致“index.php”出现在 URL 中。我还更新了我的 httpd.conf 以将根目录设置为:
AllowOverride All
但它仍然不起作用。我的 wordpress 托管在 AWS EC2 linux AMI 上。
【问题讨论】:
标签: wordpress http-status-code-404 httpd.conf permalinks