admin管理员组文章数量:1208155
By default any URL on my website will end with a trailing slash.
So if I publish a post or page, the URL will end with a "/".
But I came across a weird situation where I hit publish but the URL with "/" works but without "/" does not work. And when I clear the cache on the WordPress website. both URLS work. with or without trailing slash. And the browser will automatically redirect/change the URL to end with a slash, even if I forgot to put "/" at the end of the URL.
I was reading this article to see properly configure my rewrite rules.
If anyone can help me understand what this issue could be.
It looks like cache issue, but could it be a rewrite rules issue?
Hosted on AWS Lightsail, Bitnami WordPress stack.
本文标签: rewrite rulesquotquot URLs without trailing slash shows 404
版权声明:本文标题:rewrite rules - "" URLs without trailing slash shows 404 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1738748788a2110272.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论