I found a strange issue with AIOSEO while using the Social Media Options and the OG tags.
This is what I see in browser source:
<meta property="og:title" content="<title> Blog Post 14</title> | My Site Title" />
The content is wrapped in
<title> tags. (note: this forum renders the title tags as tags, but in my browser source, they are actually html entities). All the other OG tags are OK.
This only happens on posts and CPTs, not pages.
I changed the
%post_title% in AIOSEO>>General Settings>>Title Settings>>Post Title Format to plain text, and the text was echoed as the title. Going back to
%post_title% again shows the title tags in the og meta in browser source.
With CPTs: If I manually enter an SEO title with the AIOSEO editor below the post editor, I get that title in og without the extra title tags. Letting AIOSEO auto-generate the SEO title adds the title tags to the og meta tag.
Any ideas? Thanks.