javascript
javascript copied to clipboard
Link to where focus keyword has been used twice before on Pages results in showing Posts view
What did you expect to happen?
The page would show the filtered keywords
What happened instead?
It took you to the post view to show filtered keywords. Because keywords were used on pages it then showed blan.
How can we reproduce this behavior?
1.Add three pages with a focus keyword
2.Go to a page and see the warning "You've used this focus keyword 2 times before, it's probably a good idea to read this post on cornerstone content and improve your keyword strategy." appears
3.Click on "times before" link and see that it goes to a Posts filter keyword page which then fails to display the focus keywords
Technical info
- WordPress version: 4.8.1
- Yoast SEO version: 5.2
Please inform the customer of conversation # 214290 when this conversation has been closed.
I'm unable to reproduce this issue. Please revisit the steps to reproduce on a local environment before creating a bug report.
@tacoverdo I adjusted the issue report. Can you confirm the issue happens with Pages instead of Posts?
Apologies. Issue confirmed for pages.
Please inform the customer of conversation # 207247 when this conversation has been closed.
related: https://github.com/Yoast/wordpress-seo/issues/3648
Please inform the customer of conversation # 261983 when this conversation has been closed.
Please inform the customer of conversation #7666 when this conversation has been closed.
The link does work correctly when the "post_type" parameter is added to the URL: /wp-admin/edit.php?post_type=page&seo_kw_filter=xxx.
Please inform the customer of conversation # 388757 when this conversation has been closed.
Hi @rmarcano, I've clicked on "you've used this keyword twice before" on one of the pages and I still got this window.
Please inform the customer of conversation # 415665 when this conversation has been closed.
Pinging @moorscode for input. This issue is referenced a lot and is not easily fixed from what I understand. Would it be a better option to temporarily disable the link to the overview page?
Please inform the customer of conversation # 476422 when this conversation has been closed
I don't think this is very hard to fix, it just needs to be picked up. The suggestion from @rmarcano seems fairly easy to implement:
The link does work correctly when the "post_type" parameter is added to the URL: /wp-admin/edit.php?post_type=page&seo_kw_filter=xxx.
Please inform the customer of conversation # 502287 when this conversation has been closed
Please inform the customer of conversation # 503434 when this conversation has been closed.
Please inform the customer of conversation # 596558 when this conversation has been closed.
related https://github.com/Yoast/featurerequests/issues/601