Hello,
Thank you for contacting Rank Math today.
We have identified this as a bug and our Development team have already fixed it internally. We are going to include this fix in the next update.
For now, on your site please change the code on line 105 in seo-by-rank-math/includes/replace-variables/class-variable.php file:
replace:
if ( isset( $args['nocache'] ) && $args['nocache'] ) {
$variable->cacheable = false;
}
with:
$variable->cacheable = isset( $args['nocache'] ) && ! $args['nocache'];
This should fix the duplicate title issue.
I hope that helps. Please let us know if you need any further assistance.
Thank you.
Problem solved after doing these steps –
1. Change the code as you told above.
2. Go to news sitemap settings.
3. Deselect all news post types and save the settings.
4. Again, select all news post types and saved the settings.
5. Cleared all cache
Hello,
I am glad that the issue has been resolved for now.
You may keep an eye on our changelog page once we release an update with this fix.
In the meantime, please do not hesitate to let us know if you need our assistance with anything else.
Thank you.
Hello,
We just wanted to let you know that the latest release of the plugin includes a permanent fix for this issue.
Please update to the latest version to enjoy these improvements.
Thank you.