admin管理员组文章数量:1332389
As part of our website we have a wordpress blog in a subdirectory. I scanned our main site for broken links. The scan included the wordpress blog in the subdirectory. Some "broken links" showed up that have never been present before. The problem is that the "otherblog" has nothing whatsoever to do with our website--it is a separate property. We don't know how the value for the "otherblog" is getting in.
The html looks like this:
<link rel="canonical" href="/">
<link rel="next" href="/">
In addition to the canonical link, there is also a bogus "next" link. Where do these bogus settings come from?
Searching on "wordpress canonical link is wrong" and similar searches lead to pages that give instructions similar to the following generic steps:
Go to the page where the problem occurs.
In the Yoast advanced section, adjust the entry for "canonical".
An example of such instructions are at /.
However this does not help for one of the following reasons:
The page in question is the site home page, and there is no way to "go to that page" in the admin section.
For pages not on the blog home page, the Yoast canonical field is empty, and does not have the bogus value in it.
So where is the bogus value coming from, and how does one correct it?
Again, we have not had this issue previously over a period of many years. So it seems odd to start overriding entries on certain pages. And such an override would be to the same page anyways, which is not needed.
As part of our website we have a wordpress blog in a subdirectory. I scanned our main site for broken links. The scan included the wordpress blog in the subdirectory. Some "broken links" showed up that have never been present before. The problem is that the "otherblog" has nothing whatsoever to do with our website--it is a separate property. We don't know how the value for the "otherblog" is getting in.
The html looks like this:
<link rel="canonical" href="https://www.otherblog/blog/">
<link rel="next" href="https://www.otherblog/blog/page/2/">
In addition to the canonical link, there is also a bogus "next" link. Where do these bogus settings come from?
Searching on "wordpress canonical link is wrong" and similar searches lead to pages that give instructions similar to the following generic steps:
Go to the page where the problem occurs.
In the Yoast advanced section, adjust the entry for "canonical".
An example of such instructions are at https://yoast/help/canonical-urls-in-wordpress-seo/.
However this does not help for one of the following reasons:
The page in question is the site home page, and there is no way to "go to that page" in the admin section.
For pages not on the blog home page, the Yoast canonical field is empty, and does not have the bogus value in it.
So where is the bogus value coming from, and how does one correct it?
Again, we have not had this issue previously over a period of many years. So it seems odd to start overriding entries on certain pages. And such an override would be to the same page anyways, which is not needed.
Share Improve this question edited Jul 2, 2020 at 22:17 Jeffrey Simon asked Jul 2, 2020 at 22:07 Jeffrey SimonJeffrey Simon 1033 bronze badges1 Answer
Reset to default 2- Install "Yoast Test Helper" Plugin
- Navigate to Tools -> Yoast Test
- Under Yoast SEO, Click the "Reset Indexables tables & migrations"
版权声明:本文标题:plugin wp seo yoast - Blog home page has canonical link that is incorrect. Do not see where to change this 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742290680a2447735.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论