• Resolved jessicapjones

    (@jessicapjones)


    Hello!

    I’m contacting you regarding the issue that appears on the website https://www.tn-biblecollege.edu/bookstore/.

    We use All in one SEO plugin for our WordPress site, along with Ecwid E-commerce plugin. The issue appears when we or customers want to share some product page on Facebook – image preview doesn’t display or the website logo displays instead of product image.

    You can reproduce the issue if you open any product page, for example, here https://www.tn-biblecollege.edu/bookstore/What-God-Rejoins-p450831017 and click Share on Facebook button: https://ecwid.d.pr/qNth3q (screenshot). You’ll see the following: https://ecwid.d.pr/JgQLO0 (screenshot). In the preview the product image should display (as well as the correct page url).

    We checked it with Ecwid support and discovered that behaviour caused by the og tags. The tags are being duplicated and tags for All in One SEO plugin are located higher in the source code, as it should be: https://ecwid.d.pr/p6Jwks (screenshot). Then there are Ecwid’s tags: https://ecwid.d.pr/g2goqG (screenshot). Facebook uses your tags to display the preview, not Ecwid’s.
    Ecwid is checking the compatibility of plugins on their side, yet as a workaround their developers offered to remove your plugin og tags from the page where Ecwid store is located. I checked it in the WordPress admin panel and didn’t manage to find a way to do it. If the default tags from here https://ecwid.d.pr/yNHKqK (screenshot) are removed, they appear back once you refresh the page, so I can assume that All in one SEO plugin uses the global settings to show these tags.

    Could you please advise if the og tags of your plugin can be removed for this exact page and how we can do it?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author arnaudbroes

    (@arnaudbroes)

    Hey @jessicapjones,

    If you go to Social Networks and disable the Facebook section, our plugin should stop outputting Open Graph markup for all your pages.

    If you still want AIOSEO to output OG tags for all other pages besides your eCommerce products, then you can control this conditionally by means of this filter hook – https://aioseo.com/docs/aioseo_facebook_tags/. You’ll want to clear out the array in this case.

    If needed, I can write a custom code snippet for you in case you don’t know how to do this yourself.

    Let me know if that works or if you’d like a code snippet!

    Thread Starter jessicapjones

    (@jessicapjones)

    Thank you for your response! If you could send a code snippet I’d really appreciate it! We’d be able to use the snippet as users of the free tier of the plugin, correct? One other question, because we didn’t entirely understand:

    You’ll want to clear out the array in this case.

    Would you be able to clarify the meaning and consequences of this?

    Thank you for all of your help!!

    Plugin Author arnaudbroes

    (@arnaudbroes)

    The “clearing out the array” bit was related to the code snippet I mentioned. By clearing it out, AIOSEO will not output any OG tags.

    Before I write the code snippet, can you go Sitemaps > General and hover over the icon for this post type next to the Included Post Types setting (you might need to uncheck Include All Post Types first) and let me know what the slug of the relevant post type is? I need to known what that is in order to write the code snippet for you.

    And yep, this will work just fine with the free version.

    Plugin Support Steve M

    (@wpsmort)

    Hi @jessicapjones,

    We haven’t heard back from you in a week. I’m going to go ahead and close this thread for now. But if you’d like us to assist, please feel welcome to continue the conversation.

    Thanks! 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘OG Tag Conflict with Ecwid Products’ is closed to new replies.