Archived topic
Duplicate meta data - How to remove GP generated meta data
3 replies · Started by Jim on October 31, 2022
I'm using a plugin Dynamic Month & Year into Posts that displays the current year with a [year] shortcode in the title but also the metadata of posts. In doing this, I noticed, while inspecting the HTML, the shortcode is visible in the metadata instead of returning the year number.
Initially, I thought it was a Rank Math issue, but then I noticed a bit further in the <head>, Rank Match generates the same metadata, but with the year number. So my conclusion is that something is generating metadata - with the shortcode visible - in conjunction with Rank Math.
Assuming it is Generatepress that generates the initial metadata. How can I disable metadata created by Generatepress?
Here's a screenshot of the duplicate meta title showing the shortcode: https://i.imgur.com/FotB1Wj.png
Hi there,
is the og:title the issue? if so, then that its no GP, we don't add openGraph.
RankMath would be the most likely suspect.
Yes, it's the og:title. Thanks for confirming it's not GP that's causing the issue. I'll look further.
You're welcome