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

[Feature request] Unencode a slug on analysis check to make sure it resolves correctly #2211

Closed Pcosta88 closed 2 years ago

Pcosta88 commented 5 years ago

Edit to make it a feature request. Please see comment below: https://github.com/Yoast/YoastSEO.js/issues/2211#issuecomment-482584320

What did you expect to happen?

Non-latin keywords would be recognized in slug when published

What happened instead?

Non-latin focus keywords with characters such as Cyrillic Russian fail to be recognized in slug when published

How can we reproduce this behavior?

1.Create a post/page with a Russian slug

Screen Shot 2019-04-11 at 10 13 08 AM

2.Add keyword like Забравена

Screen Shot 2019-04-11 at 10 19 32 AM

3.Save as draft

4.See keyword recognized in slug

Screen Shot 2019-04-11 at 10 13 00 AM

5. See slug shown in snippet preview

Screen Shot 2019-04-11 at 10 13 28 AM

6. Publish post

Screen Shot 2019-04-11 at 10 14 11 AM

7.See keyword not seen in slug

Screen Shot 2019-04-11 at 10 14 24 AM

8.See slug show as unencoded in snippet preview

Screen Shot 2019-04-11 at 10 14 17 AM

Technical info

Which browser is affected (or browsers):