简体   繁体   English

Wordpress中的所有页面和帖子都重定向到主页

[英]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.

相关问题 将所有 WordPress 帖子和页面重定向到主页 - Redirect all WordPress posts and pages to homepage 是否可以在主页上将所有页面都放在根目录上,而将子目录中的帖子放在worddir下进行wordpress安装? - Is it possible to have a wordpress installation with homepage and all pages on the root, but the posts on a subdir? 是否可以在 wordpress 博客的主页上查看帖子和页面? - Is it possible to view posts and pages on the homepage of a wordpress blog? wordpress将所有页面重定向到主页 - wordpress redirecting all pages to homepage 如何将所有wordpress帖子和页面重定向到新域? - How to redirect all wordpress posts and pages to a new domain.? wordpress 给我 404 页面找不到除主页和其他页面之外的所有帖子 - wordpress is giving me 404 page not found for all posts except the homepage and other pages .htaccess更改后,所有页面都重定向到主页 - All pages redirect to homepage after .htaccess changes WordPress-将所有页面重定向到其他域和例外主页以及wp-admin - WordPress - redirect all pages to other domain and exception homepage and wp-admin Wordpress htaccess - 我想将所有 404 页重定向到主页,但 wp-admin 和一个 URL 除外 - Wordpress htaccess - I want to redirect all 404 Pages To Homepage with the exception of wp-admin and one more URL 除了主页之外的所有页面上都找不到 Wordpress 404 - Wordpress 404 no found on all pages except the homepage
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM