[英]All pages and posts in Wordpress redirect to homepage
I've been having this problem a couple times now and I'm not sure what is causing it. 我已经遇到过几次这个问题,我不确定是什么原因引起的。 I have tried disabling all plugins, resetting permalinks, and resetting to the default .htacccess file but this time I seem to not be able to fix this issue.
我尝试禁用所有插件,重置永久链接并将其重置为默认的.htacccess文件,但这一次我似乎无法解决此问题。
Whenever I try to visit any post or page, instead of displaying a post at /post-name/ it displays a list of my latest posts. 每当我尝试访问任何帖子或页面时,都不会在/ post-name /上显示帖子,而是显示我最新帖子的列表。
I thought I read about the publishing dates affecting this once but I'm not sure. 我以为我曾经阅读过有关影响该日期的发布日期,但我不确定。
Any help you could provide would be awesome! 您能提供的任何帮助都很棒!
edit: I've installed and activated a different theme and it did not solve the problem. 编辑:我已经安装并激活了一个不同的主题,它不能解决问题。 I still see a list of lastest posts on every page/post.
我仍然在每个页面/帖子上看到最新的帖子列表。
如果您启用了Yoast SEO插件,请尝试将其停用或确保没有永久重定向到Home的链接。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.