Okay
  Public Ticket #3008021
Yoast SEO
Closed

Comments

  •  10
    nox28w started the conversation

    Hello, please can you tell me why Yoast plugin doesnt index any images on portfolio and blog site?

  •  8,839
    Tahir replied

    Hey Again,

    Are you running the latest Yoast Version as this could be a bug ?.

    Thanks


    ThemeNectar Support Team 

  •  10
    nox28w replied

    Hello Tahir,

    yes im running latest version of Salient and Yoast too. Unfortunately it didnt seems as bug but as lack of SEO functionality in theme itself which is really disapointing when you have marked Salient as SEO ready theme. I have this problem on all websites running Salient theme.

  •  1
    Mark replied

    Yoast solves all the basic seo needs

  •  10
    nox28w replied

    Except images and their alts which is huge part of basic SEO needs. But i think its theme problem. Yoast dont have problem index images when they are properly tagged. But Salient process them in a way that Yoast dont see them.

  •  1,877
    Judith replied

    Hi There,

    Please allow me to escalate this to the developer to respond further.

    Thanks.

  •  10
    nox28w replied

    Thank you Judith

  •  1,070
    ThemeNectar replied

    Hey nox28w,

    Yoast indexes images by gathering any found directly inside of the editor instead of crawling the rendered page content on the front-end. When dealing with elements/shortcodes that query for content when rendered, there are no actual images within the editor and thus Yoast ultimately doesn't know about them. This type of compatibility issue will occur with any page builder/shortcode which queries for content, and is not because of a unique way we process images in Salient. e.g. https://github.com/Yoast/wordpress-seo/issues/4808

    I've noted to include a custom workaround from Salient's side in the upcoming release to hook into Yoast's filter and add the images associated with dynamically queried elements (blog/post grid/portfolio/recent posts) - this will allow for them to be added to the sitemap that Yoast generates. 

    Kind regards,

  •  10
    nox28w replied

    Hey Themenectar,

    perfect explanation like always. Thank you. Are you aware of any solution for the meantime that you will be releasing custom workaround?

  •  1,070
    ThemeNectar replied

    Hey nox28w, I'll post back on this ticket before the end of this week with an isolated snippet that will allow the functionality to be added via a child theme.

    Kind regards,

  •  10
    nox28w replied

    Hey Themenectar, thank you. Apreciate your effort

  •  1,070
    ThemeNectar replied

    Hey nox28w,

    Here's a snippet you can add into your child theme functions.php file to add the images to the sitemap: https://pastebin.com/2mMWr6hy

    Kind regards,

  •   nox28w replied privately
  •  10
    nox28w replied

    And woocomerce product images is not indexed. Btw thread what you send in link is from 2016. Divi team released a fix in 2017 (ie. 5 years ago) that parsed Gallery images for inclusion in the sitemap. I understand that issue is not because of some unique way Salient process images but that doesnt mean you shouldnt focus on wokaround maybe litlle bit sooner. Dont get me wrong, I dont want to sound passive agressive, just pointing out facts and trying to give some feedback. Im, of course, apreciate your effort to include a custom workaround. But I also imagine that 90% of users loosing valuable organic traffic (doesnt matter how small) for their business and doesnt know about it because your theme is marked as SEO ready and doesnt index images at all.

  •  1,070
    ThemeNectar replied

    Hey nox28w,

    We provided the linked thread so that you could read more about the issue, since the issue will occur by default with any theme or plugin that adds images outside of the core WP editor i.e. through a page builder or custom fields. I understand that specific thread is old, but you can find countless threads related to this from the current time as well since Yoast has not changed their stance on handling it from their side.

    Adding images to the Yoast sitemap feature requires creating custom filters and queires for each element, and taking into account all of the possible settings for those elements. It's not a quick task, but we are indeed working on it for the next update as previously mentionedsmile.png Thanks for your feedback in regards to the snippet I provided you, it will help in continuing development.

    It's also important to understand that images are still being indexed by search engines. The image sitemap feature provided by Yoast is only to help/hint in assisting crawlers find your images quicker. However when the your site pages actually get crawled, the images that are on each page will still be indexed.