Keyword

[SOLVED] Stop K2 from generating OG tags

  • Myorai
  • Myorai's Avatar Topic Author
  • Offline
  • Junior Member
More
8 years 4 months ago - 8 years 4 months ago #149633 by Myorai
hello,
i have a problem with K2 and sh404SEF. both are creating OG tags, and that's messing up the visibility on FB shares...


i use sh404SEF "Social SEO" capabilities to set the correct OG tags on each page of the site.

BUT - K2 is also generating OG tags of it's own.
this creates a problem.

how can i turn of the OG tags printed by K2?

i couldn't find this configuration anywhere. has anyone encountered this problem before?

thanks
yorai

/********************* UPDATE - FOUND SOLUTION *************************/
i found a solution but since i saw other with the same question on this forum, i'll post the solution i found here for future users to find.

to fix it you need to hack one of k2 core files - details here:
gist.github.com/codeboxr/6171227

also another version of the same solution can be found here:
www.itoctopus.com/k2-and-setting-the-wrong-open-graph-description-meta-tag
Last edit: 8 years 4 months ago by Myorai.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum