Images not getting indexed in the sitemap…

#877331
Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello, we apologize for the issue you are facing with images not getting indexed in the sitemap. To include images in your sitemap, you can enter the custom field names that contain the image URLs in the appropriate settings. Make sure to add only one entry per line so that Rank Math can understand them better and include them in your sitemap.

    Here’s a visual reference for adding image custom fields:

    image custom fields in pages sitemap

    If you have already done this and are still experiencing issues, please reply to this ticket with more details, and a human agent from the Rank Math Support team will assist you further. Thank you for raising this concern!

    Hello,

    Thank you for contacting Rank Math support.

    Please note that Rank Math detects only the images inserted inside the post_content, so images that were inserted on a page as gallery, background, and slider will not be detected and included in the sitemap.

    However, Google will still be able to discover and index those images directly from the content.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Hello,

    Those images are not added using img tag/element they are added as div with background image.

    Alt texts are only added to the image element (img).
    Here’s how one looks in the source code:
    <div class="e-gallery-image elementor-gallery-item__image e-gallery-image-loaded" data-thumbnail="https://www.ainsfwtools.com/wp-content/uploads/2024/09/ai-generated-disney-porn-21.jpg" data-width="850" data-height="1183" aria-label="ai generated disney porn (21)" role="img" style="background-image: url(&quot;https://www.ainsfwtools.com/wp-content/uploads/2024/09/ai-generated-disney-porn-21.jpg&quot;);"></div>

    We hope that helps.

    Thanks.

    i fixed this my own..

    Hello,

    We’re delighted to hear that this issue has been resolved. We appreciate your feedback.

    This ticket will be closed now, but if you ever have another question or need any help in the future, please don’t hesitate to create a new forum topic. We’ll be more than happy to assist you.

    Thank you for choosing Rank Math and have a wonderful day!

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

The ticket ‘Images not getting indexed in the sitemap…’ is closed to new replies.