Closed amboutwe closed 3 years ago
This is fixed in 1.4. Relevant PR: https://github.com/Yoast/YoastSEO.js/pull/722
Please re-open issue to fix a variation as the full URL is fixed but not if the internal link is just for a #section
Please inform the customer of conversation # 137550 when this conversation has been closed.
While reviewing and cleaning (old) issues I found that this issue is still relevant as of today with Yoast 9.5. Please note that this is about the issue as specified in comment https://github.com/Yoast/YoastSEO.js/issues/690#issuecomment-237701491
This issue will be left open for now.
Please inform the customer of conversation # 470751 when this conversation has been closed.
Please inform the customer of conversation # 521934 when this conversation has been closed.
In Yoast SEO v11.7, if the section link includes an absolute URL, the "You're linking to another page with the words you want this page to rank for" warning isn't triggered. See examples below.
<a href="#section">link to section</a>
triggers the warning<a href="http://example.com/my-fantastic-post/#section">link to section</a>
does NOT trigger the warningPlease inform the customer of conversation # 527936 when this conversation has been closed.
Please inform the customer of conversation # 587639 when this conversation has been closed.
What did you expect to happen?
No warning message when the link is to a section within the same page.
What happened instead?
Warning message: 'You're linking to another page with the focus keyword'
How can we reproduce this behavior?
ADD-LINK-HERE
with a link to a section within the same post likehttp://example.com/my-fantastic-post/#section
Technical info
Sample Text
Lorem ipsum dolor <a href="ADD-LINK-HERE">sit</a> amet, consectetur adipiscing elit.