Support » Plugin: Rank Math - SEO Plugin for WordPress » Image SEO not working on Woocommerce product pages

  • Resolved VL Tech Design

    (@vltechdesign)


    While the Image SEO module works perfectly on the Home page etc., it is not adding the alt and title information to images on Woocommerce individual product information pages.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi,

    Does the image appear when you share your home page link on Whatsapp? If yes how did you do it?

    In my case it did not appear.

    Thanks a lot in advance.

    Kind regards

    Markus

    Plugin Author Rank Math

    (@rankmath)

    Hello @vltechdesign

    Thank you for contacting the support.

    The Rank Math plugin only adds the ALT tag to the images added in the content using the the_content filter.

    It seems like that the image added in the Products is coming from either the Short Descsription’s editor area which does not use the the_content filter.

    Can you please confirm?

    Hello @wehodl

    There are a few reasons for the Facebook (or any other social network like WhatsApp) not picking your images and other social tags. We will list them below so you can check which one applies in your case:

    1. First and foremost, you must check the page source of the URL in question. Search for the og:image tag like in this Video:
    https://i.rankmath.com/aJCccE

    If the og:image tag is not found, that means Rank Math is either disabled or not able to print your social tags. Once done checking if Rank Math is enabled, you must check why it isn’t able to print social content by following this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Make sure to follow all the instructions carefully.

    2. Assuming the og:image tag was found in step 1, we can proceed to find the issue.

    Scenario 1: You are using minification on your website and your cache plugin is inputting too much inline CSS into your page source that your OpenGraph tags are pushed way too down your page’s source:
    https://i.rankmath.com/y4WIgQ

    If this is the cache, you must move your inline CSS to a file because Facebook and other social networks will only look for OpenGraph tags in the first 60kbs of your page’s source. If they don’t find it, they will assume you haven’t added them. They don’t want to waste their resources crawling huge pages looking for OpenGraph tags.

    Scenario 2: The gain browser cache option in most cache plugins like W3 Total Cache is known to not play well with Facebook’s OpenGraph detection. If you have it enabled, disable it. The option for W3 Total Cache is at WP > Performance > Browser Cache > HTTP (gzip) compression
    https://i.rankmath.com/BbaiC6

    Then, clear your website and server cache (including Cloudflare – if enabled)

    Once you are done, you might want to test again here:
    https://developers.facebook.com/tools/debug/

    Click the Scrape Again button:
    https://i.rankmath.com/A5z7WK

    You should now see the OpenGraph tags update including the image.

    Hope that helps and if not, then please open a separate topic by following this link so we can assist you better:
    https://wordpress.org/support/plugin/seo-by-rank-math/#new-topic-0

    Thanks for your support. Yes, images on WooCommerce individual product pages may not use the_content filter, as the alt tags seem to be working on the home page, category pages etc. Is there any way to add alt tags to these pages as well please, since they form the largest proportion of any online shop?

    Plugin Author Rank Math

    (@rankmath)

    Hello @vltechdesign

    Thank you for confirming.

    Sorry to disappoint but that feature is unfortunately not available at this time.

    With that being said, there are existing feature requests, so we’ve added your vote to our internal suggestions lists. If your suggestions are something that we’re able to introduce, we’ll be sure to let you know.

    In the meantime, if there’s anything else we can help you with, please let us know. We are here to assist.

    Hello i have issue with Image SEO ! my product Images not showing on google? but i remember i marked Index on Robots Meta for each my products but google shows product pages in “All” google search that mess up! but i need is only shows on images search. Can you help me what should I do! which one should I choose just for image to appear on google search!

    Thank you for your help!
    Site stripedstudio.se

    ☑ Index
    ☑ No Follow
    ☑ No Image Index
    ☑ No Index
    ☑ No Archive
    ☑ No Snippet

    Plugin Author Rank Math

    (@rankmath)

    Hello @zecreatorad

    Can you please open a new support topic here?
    https://wordpress.org/support/plugin/seo-by-rank-math/#new-topic-0

    or on our support forums on our website.

    Looking forward to helping you. Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.