Hello,
Thank you for contacting Rank Math.
Unfortunately, we have not yet tested the NextGen gallery with Rank Math. However, the FooGallery plugin is compatible with Rank Math so you can include the images from the gallery in Rank Math sitemaps.
I hope that helps.
Thank you.
Hi,
that does not really help, because i am not using Foo Gallery.
Ralf
Hi,
i am in contact with nextgen support regarding the sitemap.
Could youe please explain for what is the custom image field good for?
Ralf
Hello,
As mentioned by my colleague, we haven’t tested the NextGen plugin.
Please note that Rank Math only generates sitemaps from the list of standard posts types including custom post types. If you wish to add a custom sitemap with NextGen content in it, you may follow this guide below: https://rankmath.com/kb/custom-sitemaps/
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Hi,
thanks for your reply. The custom sitemap could be the way to get the image listed in the sitemap.
Could you tell me if it is possible to use wildcards for the images?
E.g. adding a whole directory with images?
I am asking because adding 3000 images line by line in the custom sitemap is a hell of a work.
Cheers
Ralf
Hello,
You could check our developer filters and hooks API for the filter to add custom sitemaps: https://rankmath.com/kb/filters-hooks-api-developer/#add-content-to-new-sitemap
Hope that helps. If you have questions, please let us know.
Hi Nigel,
unfortunately that does not work.
I guess I have to live whith this and hope that search engines will index the images based on the given url in the source code of the post which holds the gallery.
Anyway thanks for ypur help and if you have another idea it would be welcomed.
Ralf
Hello,
Do let us know how that goes.
In the meantime, don’t hesitate to let us know if you need our assistance with anything else.
Thank 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.