-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wordcount of page seems to be incorrect #29
Comments
Sorry just now saw the issue. But thanks for reporting, I'll check it out! |
Hi @roman-schuermann, is it possible for you to provide me the link or source code of your example? I just checked on my site and the word count is 99% correct on a few pages I checked. |
Hi Sebobo, We solve it by removing this content, but maybe you have a solution to exclude this kind of content from the wordcout? It would be fine, because otherwise we have a lot of changes for our customer... Thanks in advance |
There is a selector in the page parser which selects the content that the Yoast library will analyze. This could be made configurable. So for example instead of |
I implemented the feature and need to test it a bit with different Neos versions. See https://github.com/Sebobo/Shel.Neos.YoastSeo#contentselector. |
In our project we use YoastSeo (0.0.5) and the word count of a given page seems to be not correct and therefore the value for keyword density is not correct also.
The Yoast Plugin counts: 4918 words but actualy there are only 841 words on the page (only content).
Is this a bug or a bad configuration?
The text was updated successfully, but these errors were encountered: