Yoast / YoastSEO.js

Analyze content on a page and give SEO feedback as well as render a snippet preview.
GNU General Public License v3.0
403 stars 172 forks source link

[Enhancement] If Keyword contains an ending punctuation like period exclamation point or question mark do not count it as a sentence ending #2218

Open Pcosta88 opened 5 years ago

Pcosta88 commented 5 years ago

If my keyword has an ending punctuation, Yoast considers it the ending of a sentence. This can affect the keyword analysis.

1.Have keyword with an ending mark like FRITZ!App WLAN

Screen Shot 2019-04-24 at 8 32 07 AM

2.Add it to the first paragraph and see Yoast pick it up

Screen Shot 2019-04-24 at 8 33 07 AM

3.But outputs notification that it cannot find it within the same sentence: Keyphrase in introduction:Your keyphrase or its synonyms appear in the first paragraph of the copy, but not within one sentence. Fix that!

Screen Shot 2019-04-24 at 8 33 32 AM

Therefore, If Keyword contains an ending punctuation like period exclamation point or question mark do not count it as a sentence ending

This can help improve UX and Content SEO

Pcosta88 commented 5 years ago

Please inform the customer of conversation # 496015 when this conversation has been closed.

Pcosta88 commented 5 years ago

related https://github.com/Yoast/wordpress-seo/issues/2163

ansoncraig commented 4 years ago

What shoud we do then if my company name has exclamation points in it, and we frequently want to check our content against it.

Does it only affect Yoast's ability to correctly ascertain density and usage, or does it actually affect Google's ability to scan our pages?

thanks!

Djennez commented 4 years ago

It does not affect Google rankings.

For a workaround: If you are checking for keyphrases with exclamation marks (or any sentence-ending marks for that matter) you can maybe temporary replace the mark for another symbol (one that isn't used), use that for your analysis, and once your text is done and the check passes you can replace that character with your exclamation mark.

nataliashitova commented 4 years ago

A development issue was created for this problem Yoast/javascript#402.

mmikhan commented 4 years ago

Please inform the customer of conversation # 564774 when this conversation has been closed.

laurasacco commented 4 years ago

Please inform the customer of conversation # 608321 when this conversation has been closed.

Pcosta88 commented 4 years ago

Please inform the customer of conversation # 626340 when this conversation has been closed.

jdevalk commented 3 years ago

We should move this to the bugreports jira.