-
How come I don’t have an ulr of the images? How do I see if the images are indexed?
I have many images inside Soliloquy’s slider.
-
double.
Hello,
Thank you for contacting Rank Math support, and sorry for any inconvenience that might have been caused due to that.
Please note that Rank Math can only add images that have been set as post attachments. Gutenberg automatically adds images as post attachments and removes them when they are deleted from the post.
Ensure that the images from that slider are added inside the actual post_content of the pages. Please confirm this with your slider plugin.
An alternative solution would be to customize the code snippet below and add it to your theme
functions.php
file. You would need to add a condition to check the slider element and automatically add its images to the sitemap if a slider exists:/** * Filter images to be included for the post in XML sitemap. * * @param array $images Array of image items. * @param int $post_id ID of the post. */ add_filter( 'rank_math/sitemap/urlimages', function( $images, $post_id ){ return $images; }, 10, 2);
I hope that helps. Let us know if you have questions.
Sorry but I don’t understand. Is there any setting I got wrong on Rank Math? Which one should i check?
Hello,
The links to all the images are added to the page source of the sitemap.
Check the page source of the page/post sitemap.To check the indexed images, search for your site on Google images using the site operator.
site:https://yourdomain.com/
Hope that helps.
Thank you.
I confirm that there is a problem. Only 11 images. Do you have any solution?
Hello,
I checked the sitemap, the images are included in the sitemap.
However, please note that crawling and indexing of the website depend on the authority and crawl budget of the website.
The images are indexed automatically when Google crawls them but it is completely up to Google if they want to index or not index your images.
Looking forward to helping you.
How do I solve the image problem in the Soliloquy slider?
Hello,
Can you please share the affected page with the Soliloquy slider in it so we can further check from our end?
Looking forward to helping you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
I would say that the slider isn’t added as part of your post_content which Rank Math only reads and retrieve the images. In addition to that, the images are rendered with lazyloading which only reveals the images when javascript is loaded. Kindly check this one with the support folks from Soliloquy or refer to my guide here.
As for some of your images that aren’t indexed yet by Google, please note that it may take time before Google will index the images of your content and you also need to ensure that these images are optimized for the SERP as also mentioned by my colleague in the last reply.
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
I do not understand. Where is the problem to be solved?
Hello,
So basically, the images added from your Soliloquy slider aren’t picked up by our sitemap because somehow, the slider is not part of the
post_content
so you need to confirm this one with the “Soliloquy” plugin support and ask them how are the images from the slider being added to a page/post.Looking forward to hearing back from you.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.
The ticket ‘Images in the sitemap.’ is closed to new replies.