Array in og image link meta!

#200252
  • Resolved Martin Allen
    Rank Math free

    Hi, I have noticed a large amoiunt of 404s in my search console that relate to images of woocommerce products – after looking in the source of the product pages i see the only instance of “array” is in the og image link meta “<meta property=”og:image” content=”Array”/>” is there a way to fix this issue?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hello,

    Thanks for contacting us and sorry for any inconvenience that might have been caused due to that.

    Can you please share some of the affected URLs in the sensitive data section so we can check and assist you further?

    We really look forward to helping you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Brian
    Rank Math free

    Hello,

    Upon further checking on your product URL here, I have noticed that you have Tripple metadata within the page source. You need to have this updated or changed to have only one set of metadata.

    It seems as though the theme you are using is also adding the metadata here this includes even the og:image content. Kindly contact your devs team to check on how to disable the metadata here.

    Also, it could be an additional plugin adding this array:<meta property="og:image" content="Array" You may have to perform a troubleshooting conflict check to determine which one. Please follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    We really look forward to helping you.

    Hi Brian,
    I have now found and removed the extra “meta og data” – ill will run a check to see if the array is still there – if it is still there then this is only being provided by rankmath plugin.

    ok so it is still there – the meta data provided by rank math is giving me <meta property=”og:image” content=”Array”/> is there a reason it does not provide the image url instead of “Array” ??

    Anas
    Rank Math business

    Hello,

    I checked the source code of your page, there are two og:image tags present on the page.
    rank math

    The first one is added by Rank Math, you can check the image URL is added correctly in the content attribute.

    The other og:image is added by either your theme or by any other plugin.
    You can check that by following this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    If there is no conflict found and the issue presists, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Ah ok – i have now found the extra code in product pages – this has now been removed and the issue is fixed thanks.

    Anas
    Rank Math business

    Hello,

    We are super happy that your issue is resolved. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 8 replies - 1 through 8 (of 8 total)

The ticket ‘Array in og image link meta!’ is closed to new replies.